diff options
author | Brian Ashworth <[email protected]> | 2019-01-09 22:09:59 -0500 |
---|---|---|
committer | Brian Ashworth <[email protected]> | 2019-01-09 23:17:27 -0500 |
commit | 55e1d599a26785a7eda48e26aff335c8f9a3b348 (patch) | |
tree | 3ecb55fcbe971198f3aa33a92e896d3045954cea /sway/sway-input.5.scd | |
parent | 14cab7861294189f820e0830ae84ac7b15271342 (diff) |
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.
Diffstat (limited to 'sway/sway-input.5.scd')
-rw-r--r-- | sway/sway-input.5.scd | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sway/sway-input.5.scd b/sway/sway-input.5.scd index 820194a9..c54babaa 100644 --- a/sway/sway-input.5.scd +++ b/sway/sway-input.5.scd @@ -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. |