mirror of
https://github.com/swaywm/sway.git
synced 2026-04-23 06:46:27 -04:00
input/tablet: add tool_mode option to set tablet tools as relative input
Closes #4139.
This commit is contained in:
parent
136add4e12
commit
ed247c031c
10 changed files with 149 additions and 6 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue