aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway-input.5.scd
diff options
context:
space:
mode:
authorLibravatar Tudor Brindus <me@tbrindus.ca>2020-06-19 14:11:57 -0400
committerLibravatar Simon Ser <contact@emersion.fr>2020-10-12 15:01:37 +0200
commited247c031cb9783deb5c04631b53c5ac6c432eb7 (patch)
tree3b8aa74d49d6e6cb1518cd749854cba13728f259 /sway/sway-input.5.scd
parentinput/cursor: default tablet lens tool to relative motion (diff)
downloadsway-ed247c031cb9783deb5c04631b53c5ac6c432eb7.tar.gz
sway-ed247c031cb9783deb5c04631b53c5ac6c432eb7.tar.zst
sway-ed247c031cb9783deb5c04631b53c5ac6c432eb7.zip
input/tablet: add tool_mode option to set tablet tools as relative input
Closes #4139.
Diffstat (limited to 'sway/sway-input.5.scd')
-rw-r--r--sway/sway-input.5.scd11
1 files changed, 11 insertions, 0 deletions
diff --git a/sway/sway-input.5.scd b/sway/sway-input.5.scd
index 9ec5eeae..d8180c1c 100644
--- a/sway/sway-input.5.scd
+++ b/sway/sway-input.5.scd
@@ -94,6 +94,17 @@ The following commands may only be used in the configuration file.
94*input* <identifier> xkb_numlock enabled|disabled 94*input* <identifier> xkb_numlock enabled|disabled
95 Initially enables or disables NumLock on startup, the default is disabled. 95 Initially enables or disables NumLock on startup, the default is disabled.
96 96
97## TABLET CONFIGURATION
98
99*input* <identifier> tool_mode <tool> <absolute|relative>
100 Sets whether movement of a tablet tool should be treated as absolute or
101 relative; the default is absolute.
102
103 Valid values for _\<tool\>_ are currently "pen", "eraser", "brush",
104 "pencil", "airbrush", and the wildcard _\*_, which matches all tools.
105
106 Mouse and lens tools ignore this setting and are always treated as relative.
107
97## MAPPING CONFIGURATION 108## MAPPING CONFIGURATION
98 109
99*input* <identifier> map_to_output <identifier> 110*input* <identifier> map_to_output <identifier>