diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-01-09 22:09:59 -0500 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-01-09 23:17:27 -0500 |
commit | 55e1d599a26785a7eda48e26aff335c8f9a3b348 (patch) | |
tree | 3ecb55fcbe971198f3aa33a92e896d3045954cea /sway/sway-input.5.scd | |
parent | Reset container dimensions when moving into workspace from direction (diff) | |
download | sway-55e1d599a26785a7eda48e26aff335c8f9a3b348.tar.gz sway-55e1d599a26785a7eda48e26aff335c8f9a3b348.tar.zst sway-55e1d599a26785a7eda48e26aff335c8f9a3b348.zip |
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. | |||
82 | *input* <identifier> dwt enabled|disabled | 82 | *input* <identifier> dwt enabled|disabled |
83 | Enables or disables disable-while-typing for the specified input device. | 83 | Enables or disables disable-while-typing for the specified input device. |
84 | 84 | ||
85 | *input* <identifier> events enabled|disabled|disabled\_on\_external\_mouse | 85 | *input* <identifier> events enabled|disabled|disabled\_on\_external\_mouse|toggle |
86 | Enables or disables send\_events for specified input device. (Disabling | 86 | Enables or disables send\_events for specified input device. Disabling |
87 | send\_events disables the input device) | 87 | send\_events disables the input device. The _toggle_ option cannot be used |
88 | in the config. The order is enabled, disabled\_on\_external\_mouse, | ||
89 | disabled, (loop back to enabled). Any mode which is not supported by the | ||
90 | device will be skipped during the toggle. | ||
88 | 91 | ||
89 | *input* <identifier> left\_handed enabled|disabled | 92 | *input* <identifier> left\_handed enabled|disabled |
90 | Enables or disables left handed mode for specified input device. | 93 | Enables or disables left handed mode for specified input device. |