mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
docs: add tablet tool section
This commit is contained in:
parent
3f210828d7
commit
e26ec472b2
2 changed files with 28 additions and 0 deletions
|
|
@ -730,6 +730,24 @@ extending outward from the snapped edge.
|
|||
|
||||
See mouse section above for all supported mouse buttons.
|
||||
|
||||
## TABLET TOOL
|
||||
|
||||
```
|
||||
<tabletTool motion="absolute" relativeMotionSensitivity="1" />
|
||||
```
|
||||
|
||||
*<tabletTool motion="">* [absolute|relative]
|
||||
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. Positioning for a tablet mouse or
|
||||
tablet lens cannot be changed, those tools always use relative mode.
|
||||
|
||||
*<tabletTool relativeMotionSensitivity="">*
|
||||
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. The default is "1.0".
|
||||
|
||||
## LIBINPUT
|
||||
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue