diff options
author | Tudor Brindus <me@tbrindus.ca> | 2020-06-19 14:11:57 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-10-12 15:01:37 +0200 |
commit | ed247c031cb9783deb5c04631b53c5ac6c432eb7 (patch) | |
tree | 3b8aa74d49d6e6cb1518cd749854cba13728f259 /sway/sway-input.5.scd | |
parent | 136add4e1208fe631dd8f8590a69ef9b959cfe34 (diff) |
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.scd | 11 |
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. *input* <identifier> xkb_numlock enabled|disabled Initially enables or disables NumLock on startup, the default is disabled. +## TABLET CONFIGURATION + +*input* <identifier> tool_mode <tool> <absolute|relative> + Sets whether movement of a tablet tool should be treated as absolute or + relative; the default is absolute. + + Valid values for _\<tool\>_ are currently "pen", "eraser", "brush", + "pencil", "airbrush", and the wildcard _\*_, which matches all tools. + + Mouse and lens tools ignore this setting and are always treated as relative. + ## MAPPING CONFIGURATION *input* <identifier> map_to_output <identifier> |