mirror of
https://github.com/swaywm/sway.git
synced 2026-04-23 06:46:27 -04:00
seat_cmd_keyboard_grouping: change keymap to smart
This removes `seat <seat> keyboard_grouping keymap` and replaces it with `seat <seat> keyboard_grouping smart`. The smart keyboard grouping will group based on both the keymap and repeat info. The reasoning for this is that deciding what the repeat info should be for a group is either arbitrary or non-deterministic when multiple keyboards in the group have repeat info configured (unless somehow exposed to the user in a reproducible uniquely identifiable fashion).
This commit is contained in:
parent
2b51c5b294
commit
452a615bb8
5 changed files with 45 additions and 28 deletions
|
|
@ -230,15 +230,15 @@ correct seat.
|
|||
"keyboard", "pointer", "touchpad", "touch", "tablet pad", "tablet tool",
|
||||
and "switch". The default behavior is to wake from idle on any event.
|
||||
|
||||
*seat* <name> keyboard_grouping none|keymap
|
||||
*seat* <name> keyboard_grouping none|smart
|
||||
Set how the keyboards in the seat are grouped together. Currently, there
|
||||
are two options. _none_ will disable all keyboard grouping. This will make
|
||||
it so each keyboard device has its own isolated state. _keymap_ will
|
||||
group the keyboards in the seat by their keymap. This is useful for when
|
||||
the keyboard appears as multiple separate input devices. In this mode,
|
||||
the effective layout and repeat info are also synced between the keyboards
|
||||
in the group. The default is _keymap_. To restore the behavior of older
|
||||
versions of sway, use _none_.
|
||||
it so each keyboard device has its own isolated state. _smart_ will
|
||||
group the keyboards in the seat by their keymap and repeat info. This is
|
||||
useful for when the keyboard appears as multiple separate input devices.
|
||||
In this mode, the effective layout is synced between the keyboards in the
|
||||
group. The default is _smart_. To restore the behavior of older versions
|
||||
of sway, use _none_.
|
||||
|
||||
*seat* <name> pointer_constraint enable|disable|escape
|
||||
Enables or disables the ability for clients to capture the cursor (enabled
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue