mirror of
https://github.com/swaywm/sway.git
synced 2025-11-20 06:59:46 -05:00
input_cmd_events: implement toggle
Implements toggling input events during runtime. This will not attempt to toggle to a mode that is not supported by the device. When toggling the wildcard input, the device specific input configs are altered. Each device will cycle one supported mode.
This commit is contained in:
parent
14cab78612
commit
55e1d599a2
2 changed files with 81 additions and 4 deletions
|
|
@ -82,9 +82,12 @@ The following commands may only be used in the configuration file.
|
|||
*input* <identifier> dwt enabled|disabled
|
||||
Enables or disables disable-while-typing for the specified input device.
|
||||
|
||||
*input* <identifier> events enabled|disabled|disabled\_on\_external\_mouse
|
||||
Enables or disables send\_events for specified input device. (Disabling
|
||||
send\_events disables the input device)
|
||||
*input* <identifier> events enabled|disabled|disabled\_on\_external\_mouse|toggle
|
||||
Enables or disables send\_events for specified input device. Disabling
|
||||
send\_events disables the input device. The _toggle_ option cannot be used
|
||||
in the config. The order is enabled, disabled\_on\_external\_mouse,
|
||||
disabled, (loop back to enabled). Any mode which is not supported by the
|
||||
device will be skipped during the toggle.
|
||||
|
||||
*input* <identifier> left\_handed enabled|disabled
|
||||
Enables or disables left handed mode for specified input device.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue