diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-02-16 17:42:56 -0500 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-02-16 23:50:37 +0100 |
commit | f7f5b172a02db8209cd7cd315e397e52b67bfed3 (patch) | |
tree | 50241331cae608380602ca5dfb86edb9d1003aa6 | |
parent | Remove unused header include/sway/tree/output.h (diff) | |
download | sway-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.
-rw-r--r-- | sway/sway-input.5.scd | 15 |
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 | ||
9 | Sway allows for configuration of devices within the sway configuration file. | 9 | Sway allows for configuration of devices within the sway configuration file. |
10 | To obtain a list of available device identifiers, run *swaymsg -t get_inputs*. | 10 | To obtain a list of available device identifiers, run *swaymsg -t get_inputs*. |
11 | Settings can also be applied to all input devices by using the wildcard, _\*_, | ||
12 | in place of _\<identifier\>_ in the commands below. | ||
13 | |||
14 | Tip: If the configuration settings do not appear to be taking effect, you could | ||
15 | try using _\*_ instead of _\<identifier\>_. If it works with the wildcard, try | ||
16 | using a different identifier from *swaymsg -t get_inputs* until you find the | ||
17 | correct 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 | |||
144 | current seat. Each seat has an independent keyboard focus and a separate cursor | 151 | current seat. Each seat has an independent keyboard focus and a separate cursor |
145 | that is controlled by the pointer devices of the seat. This is useful for | 152 | that is controlled by the pointer devices of the seat. This is useful for |
146 | multiple people using the desktop at the same time with their own devices (each | 153 | multiple people using the desktop at the same time with their own devices (each |
147 | sitting in their own "seat"). | 154 | sitting in their own "seat"). The wildcard character, _\*_, can also be used in |
155 | place of _\<identifier\>_ to change settings for all seats. | ||
156 | |||
157 | Tip: If the configuration settings do not appear to be taking effect, you could | ||
158 | try using _\*_ instead of _\<identifier\>_. If it works with the wildcard, try | ||
159 | using a different identifier from *swaymsg -t get_seats* until you find the | ||
160 | correct 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 |