input/tablet: add tool_mode option to set tablet tools as relative input

Closes #4139.
This commit is contained in:
Tudor Brindus 2020-06-19 14:11:57 -04:00 committed by Simon Ser
parent 136add4e12
commit ed247c031c
10 changed files with 149 additions and 6 deletions

View file

@ -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>