aboutsummaryrefslogtreecommitdiff
path: root/sway/sway-input.5.scd
diff options
context:
space:
mode:
Diffstat (limited to 'sway/sway-input.5.scd')
-rw-r--r--sway/sway-input.5.scd31
1 files changed, 24 insertions, 7 deletions
diff --git a/sway/sway-input.5.scd b/sway/sway-input.5.scd
index 820194a9..c2673f2a 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.
@@ -105,10 +108,11 @@ The following commands may only be used in the configuration file.
*input* <identifier> repeat\_rate <characters per second>
Sets the frequency of key repeats once the repeat\_delay has passed.
-*input* <identifier> scroll\_button <button\_identifier>
- Sets button used for scroll\_method on\_button\_down. The button identifier
- can be obtained from `libinput debug-events`.
- If set to 0, it disables the scroll\_button on\_button\_down.
+*input* <identifier> scroll\_button disable|button[1-3,8,9]|<event-code-or-name>
+ Sets the button used for scroll\_method on\_button\_down. The button can
+ be given as an event name or code, which can be obtained from `libinput
+ debug-events`, or as a x11 mouse button (button[1-3,8,9]). If set to
+ _disable_, it disables the scroll\_method on\_button\_down.
*input* <identifier> scroll\_factor <floating point value>
Changes the scroll factor for the specified input device. Scroll speed will
@@ -141,6 +145,19 @@ in their own "seat").
Attach an input device to this seat by its input identifier. A special
value of "\*" will attach all devices to the seat.
+*seat* <seat> cursor move|set <x> <y>
+ Move specified seat's cursor relative to current position or wrap to
+ absolute coordinates (with respect to the global coordinate space).
+ Specifying either value as 0 will not update that coordinate.
+
+*seat* <seat> cursor press|release button[1-9]|<event-name-or-code>
+ Simulate pressing (or releasing) the specified mouse button on the
+ specified seat. The button can either be provided as a button event name or
+ event code, which can be obtained from `libinput debug-events`, or as an x11
+ mouse button (button[1-9]). If using button[4-7], which map to axes, an axis
+ event will be simulated, however _press_ and _release_ will be ignored and
+ both will occur.
+
*seat* <name> fallback true|false
Set this seat as the fallback seat. A fallback seat will attach any device
not explicitly attached to another seat (similar to a "default" seat).