diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-01-21 09:28:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-21 09:28:47 -0500 |
commit | cddb057343ffe9a878e945404a91b6b0ca3e4ad4 (patch) | |
tree | f618f1161add3892e01787ab46d9eccf2376942d /sway/sway-input.5.scd | |
parent | 1fb6918f9ea4126d70ff3dafa0404758fb373cc9 (diff) | |
parent | 91c1f449565f3e15398472102293d44fa26364d9 (diff) |
Merge pull request #3480 from RedSoxFan/input-modes-improved-toggle
input_cmd_events: allow toggle modes to be listed
Diffstat (limited to 'sway/sway-input.5.scd')
-rw-r--r-- | sway/sway-input.5.scd | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/sway/sway-input.5.scd b/sway/sway-input.5.scd index c2673f2a..872fe8e2 100644 --- a/sway/sway-input.5.scd +++ b/sway/sway-input.5.scd @@ -82,12 +82,16 @@ 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|toggle +*input* <identifier> events enabled|disabled|disabled\_on\_external\_mouse|toggle [<toggle-modes>] 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. + send\_events disables the input device. + + The _toggle_ option cannot be used in the config. If no toggle modes are + listed, all supported modes for the device will be toggled through in the + order: enabled, disabled\_on\_external\_mouse, disabled, (loop back). If + toggle modes are listed, they will be cycled through, defaulting to the + first mode listed if the current mode is not in the list. They will also + not be checked to see if they are supported for the device and may fail. *input* <identifier> left\_handed enabled|disabled Enables or disables left handed mode for specified input device. |