aboutsummaryrefslogtreecommitdiffstats
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.scd13
1 files changed, 13 insertions, 0 deletions
diff --git a/sway/sway-input.5.scd b/sway/sway-input.5.scd
index 820194a9..044057f2 100644
--- a/sway/sway-input.5.scd
+++ b/sway/sway-input.5.scd
@@ -141,6 +141,19 @@ in their own "seat").
141 Attach an input device to this seat by its input identifier. A special 141 Attach an input device to this seat by its input identifier. A special
142 value of "\*" will attach all devices to the seat. 142 value of "\*" will attach all devices to the seat.
143 143
144*seat* <seat> cursor move|set <x> <y>
145 Move specified seat's cursor relative to current position or wrap to
146 absolute coordinates (with respect to the global coordinate space).
147 Specifying either value as 0 will not update that coordinate.
148
149*seat* <seat> cursor press|release button[1-9]|<event-name-or-code>
150 Simulate pressing (or releasing) the specified mouse button on the
151 specified seat. The button can either be provided as a button event name or
152 event code, which can be obtained from `libinput debug-events`, or as an x11
153 mouse button (button[1-9]). If using button[4-7], which map to axes, an axis
154 event will be simulated, however _press_ and _release_ will be ignored and
155 both will occur.
156
144*seat* <name> fallback true|false 157*seat* <name> fallback true|false
145 Set this seat as the fallback seat. A fallback seat will attach any device 158 Set this seat as the fallback seat. A fallback seat will attach any device
146 not explicitly attached to another seat (similar to a "default" seat). 159 not explicitly attached to another seat (similar to a "default" seat).