docs: add tablet tool section

This commit is contained in:
Jens Peters 2024-07-08 20:21:49 +02:00 committed by Johan Malm
parent 3f210828d7
commit e26ec472b2
2 changed files with 28 additions and 0 deletions

View file

@ -521,6 +521,16 @@
<map button="Stylus2" to="Middle" />
</tablet>
<!--
All tablet tools, except of type mouse and lens, use absolute
positioning by default. The *motion* attribute allows to set tools
to relative motion instead. When using relative motion,
*relativeMotionSensitivity* controls the speed of the cursor. Using
a value lower than 1.0 decreases the speed, using a value greater than
1.0 increases the speed of the cursor.
-->
<tabletTool motion="absolute" relativeMotionSensitivity="1.0" />
<!--
The *category* attribute is optional and can be set to touch, touchpad,
non-touch, default or the name of a device. You can obtain device names by