aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-02-16 17:42:56 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-02-18 15:11:48 -0500
commitf120f70f5a1137358a5baf111fd77c0164849a47 (patch)
treedab069221df16febfc7f3dc7f23b72344224bcee
parentRemove unused header include/sway/tree/output.h (diff)
downloadsway-f120f70f5a1137358a5baf111fd77c0164849a47.tar.gz
sway-f120f70f5a1137358a5baf111fd77c0164849a47.tar.zst
sway-f120f70f5a1137358a5baf111fd77c0164849a47.zip
sway-input.5: document wildcard and identifier troubleshooting
This documents the wildcard character for both inputs and seats. There is also a tip added on trying the wildcard to verify a setting if the identifier does not appear to be working.
-rw-r--r--sway/sway-input.5.scd15
1 files changed, 14 insertions, 1 deletions
diff --git a/sway/sway-input.5.scd b/sway/sway-input.5.scd
index 376e1833..8c3a8225 100644
--- a/sway/sway-input.5.scd
+++ b/sway/sway-input.5.scd
@@ -8,6 +8,13 @@ sway-input - input configuration file and commands
8 8
9Sway allows for configuration of devices within the sway configuration file. 9Sway allows for configuration of devices within the sway configuration file.
10To obtain a list of available device identifiers, run *swaymsg -t get_inputs*. 10To obtain a list of available device identifiers, run *swaymsg -t get_inputs*.
11Settings can also be applied to all input devices by using the wildcard, _\*_,
12in place of _\<identifier\>_ in the commands below.
13
14Tip: If the configuration settings do not appear to be taking effect, you could
15try using _\*_ instead of _\<identifier\>_. If it works with the wildcard, try
16using a different identifier from *swaymsg -t get_inputs* until you find the
17correct input device.
11 18
12# INPUT COMMANDS 19# INPUT COMMANDS
13 20
@@ -144,7 +151,13 @@ configured. While sway is running, _-_ (hyphen) can be used as an alias for the
144current seat. Each seat has an independent keyboard focus and a separate cursor 151current seat. Each seat has an independent keyboard focus and a separate cursor
145that is controlled by the pointer devices of the seat. This is useful for 152that is controlled by the pointer devices of the seat. This is useful for
146multiple people using the desktop at the same time with their own devices (each 153multiple people using the desktop at the same time with their own devices (each
147sitting in their own "seat"). 154sitting in their own "seat"). The wildcard character, _\*_, can also be used in
155place of _\<identifier\>_ to change settings for all seats.
156
157Tip: If the configuration settings do not appear to be taking effect, you could
158try using _\*_ instead of _\<identifier\>_. If it works with the wildcard, try
159using a different identifier from *swaymsg -t get_seats* until you find the
160correct seat.
148 161
149*seat* <name> attach <input_identifier> 162*seat* <name> attach <input_identifier>
150 Attach an input device to this seat by its input identifier. A special 163 Attach an input device to this seat by its input identifier. A special