mirror of
https://github.com/labwc/labwc.git
synced 2026-02-10 04:27:47 -05:00
docs: document tablet tool pressure range
This commit is contained in:
parent
c093ac47db
commit
650a2e196f
2 changed files with 16 additions and 2 deletions
|
|
@ -1090,7 +1090,8 @@ Note: To rotate touch events with output rotation, use the libinput
|
|||
## TABLET TOOL
|
||||
|
||||
```
|
||||
<tabletTool motion="absolute" relativeMotionSensitivity="1" />
|
||||
<tabletTool motion="absolute" relativeMotionSensitivity="1"
|
||||
minPressure="0" maxPressure="1" />
|
||||
```
|
||||
|
||||
*<tabletTool motion="">* [absolute|relative]
|
||||
|
|
@ -1105,6 +1106,16 @@ Note: To rotate touch events with output rotation, use the libinput
|
|||
speed, using a value greater than 1.0 increases the speed of the
|
||||
cursor. The default is "1.0".
|
||||
|
||||
*<tabletTool minPressure="">*
|
||||
*<tabletTool maxPressure="">*
|
||||
The pressure range of a tablet tool can be controlled by adjusting
|
||||
*minPressure* and *maxPressure*. Setting the minimum pressure to
|
||||
a value greater than zero requires more pressure for the tip
|
||||
threshold, setting the maximum pressure to a value less than 1.0
|
||||
requires less pressure for the user before the maximum is reached.
|
||||
The default is 0 for the minimum pressure and 1.0 for the maximum
|
||||
pressure.
|
||||
|
||||
## LIBINPUT
|
||||
|
||||
```
|
||||
|
|
|
|||
|
|
@ -573,8 +573,11 @@
|
|||
*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 pressure range of a tablet tool can be controlled by adjusting
|
||||
*minPressure* and *maxPressure*.
|
||||
-->
|
||||
<tabletTool motion="absolute" relativeMotionSensitivity="1.0" />
|
||||
<tabletTool motion="absolute"relativeMotionSensitivity="1.0"
|
||||
minPressure="0" maxPressure="1.0" />
|
||||
|
||||
<!--
|
||||
The *category* attribute is optional and can be set to touch, touchpad,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue