aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway-input.5.scd
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-11-03 14:20:05 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-11-21 10:42:10 -0500
commit5d882cb5fc2d9d9fd68439021e48a90aa2e50e79 (patch)
treec519449aebb2fa15406407eee5af3cd4164e1b62 /sway/sway-input.5.scd
parentinput_cmd_xkb_file: allow shell path expansion (diff)
downloadsway-5d882cb5fc2d9d9fd68439021e48a90aa2e50e79.tar.gz
sway-5d882cb5fc2d9d9fd68439021e48a90aa2e50e79.tar.zst
sway-5d882cb5fc2d9d9fd68439021e48a90aa2e50e79.zip
Add support for wlr_keyboard_group
A wlr_keyboard_group allows for multiple keyboard devices to be combined into one logical keyboard. This is useful for keyboards that are split into multiple input devices despite appearing as one physical keyboard in the user's mind. This adds support for wlr_keyboard_groups to sway. There are two keyboard groupings currently supported, which can be set on a per-seat basis. The first keyboard grouping is none, which disables all grouping and provides no functional change. The second is keymap, which groups the keyboard devices in the seat by their keymap. With this grouping, the effective layout and repeat info is also synced across keyboard devices in the seat. Device specific bindings will still be executed as normal, but everything else related to key and modifier events will be handled by the keyboard group's keyboard.
Diffstat (limited to 'sway/sway-input.5.scd')
-rw-r--r--sway/sway-input.5.scd10
1 files changed, 10 insertions, 0 deletions
diff --git a/sway/sway-input.5.scd b/sway/sway-input.5.scd
index d0bf648b..5631293c 100644
--- a/sway/sway-input.5.scd
+++ b/sway/sway-input.5.scd
@@ -218,6 +218,16 @@ correct seat.
218 disables hiding the cursor. The minimal timeout is 100 and any value less 218 disables hiding the cursor. The minimal timeout is 100 and any value less
219 than that (aside from 0), will be increased to 100. 219 than that (aside from 0), will be increased to 100.
220 220
221*seat* <name> keyboard_grouping none|keymap
222 Set how the keyboards in the seat are grouped together. Currently, there
223 are two options. _none_ will disable all keyboard grouping. This will make
224 it so each keyboard device has its own isolated state. _keymap_ will
225 group the keyboards in the seat by their keymap. This is useful for when
226 the keyboard appears as multiple separate input devices. In this mode,
227 the effective layout and repeat info are also synced between the keyboards
228 in the group. The default is _keymap_. To restore the behavior of older
229 versions of sway, use _none_.
230
221*seat* <name> pointer_constraint enable|disable|escape 231*seat* <name> pointer_constraint enable|disable|escape
222 Enables or disables the ability for clients to capture the cursor (enabled 232 Enables or disables the ability for clients to capture the cursor (enabled
223 by default) for the seat. This is primarily useful for video games. The 233 by default) for the seat. This is primarily useful for video games. The