aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway-input.5.scd
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2019-01-13 20:40:42 -0500
committerLibravatar GitHub <noreply@github.com>2019-01-13 20:40:42 -0500
commit9f9ef761753e11235c85c232e7521506cfea512d (patch)
tree1f391e6a4a1d7d6d8eef0dc894d4c165ba7fbdbd /sway/sway-input.5.scd
parentMerge pull request #3342 from RedSoxFan/scroll-buttons-improved (diff)
parentseat_cmd_cursor: utilize mouse button helpers (diff)
downloadsway-9f9ef761753e11235c85c232e7521506cfea512d.tar.gz
sway-9f9ef761753e11235c85c232e7521506cfea512d.tar.zst
sway-9f9ef761753e11235c85c232e7521506cfea512d.zip
Merge pull request #3343 from RedSoxFan/seat-cursor-buttons-improved
Improve mouse button parsing: seat cursor buttons
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 7d1a7169..c2673f2a 100644
--- a/sway/sway-input.5.scd
+++ b/sway/sway-input.5.scd
@@ -145,6 +145,19 @@ in their own "seat").
145 Attach an input device to this seat by its input identifier. A special 145 Attach an input device to this seat by its input identifier. A special
146 value of "\*" will attach all devices to the seat. 146 value of "\*" will attach all devices to the seat.
147 147
148*seat* <seat> cursor move|set <x> <y>
149 Move specified seat's cursor relative to current position or wrap to
150 absolute coordinates (with respect to the global coordinate space).
151 Specifying either value as 0 will not update that coordinate.
152
153*seat* <seat> cursor press|release button[1-9]|<event-name-or-code>
154 Simulate pressing (or releasing) the specified mouse button on the
155 specified seat. The button can either be provided as a button event name or
156 event code, which can be obtained from `libinput debug-events`, or as an x11
157 mouse button (button[1-9]). If using button[4-7], which map to axes, an axis
158 event will be simulated, however _press_ and _release_ will be ignored and
159 both will occur.
160
148*seat* <name> fallback true|false 161*seat* <name> fallback true|false
149 Set this seat as the fallback seat. A fallback seat will attach any device 162 Set this seat as the fallback seat. A fallback seat will attach any device
150 not explicitly attached to another seat (similar to a "default" seat). 163 not explicitly attached to another seat (similar to a "default" seat).