aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway-input.5.scd
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-02-16 17:42:56 -0500
committerLibravatar emersion <contact@emersion.fr>2019-02-16 23:50:37 +0100
commitf7f5b172a02db8209cd7cd315e397e52b67bfed3 (patch)
tree50241331cae608380602ca5dfb86edb9d1003aa6 /sway/sway-input.5.scd
parentRemove unused header include/sway/tree/output.h (diff)
downloadsway-f7f5b172a02db8209cd7cd315e397e52b67bfed3.tar.gz
sway-f7f5b172a02db8209cd7cd315e397e52b67bfed3.tar.zst
sway-f7f5b172a02db8209cd7cd315e397e52b67bfed3.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.
Diffstat (limited to 'sway/sway-input.5.scd')
-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