]> git.mdlowis.com Git - proto/labwc.git/commitdiff
docs: add tablet tool section
authorJens Peters <jp7677@gmail.com>
Mon, 8 Jul 2024 18:21:49 +0000 (20:21 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Fri, 19 Jul 2024 21:45:41 +0000 (22:45 +0100)
docs/labwc-config.5.scd
docs/rc.xml.all

index 1a5e3742ffd421afd161fac8fd0ad2bb16b76b77..70f705c61195e0d9ba2a230a01ff47975e9db61d 100644 (file)
@@ -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
 
 ```
index 1f4a0f6931f53ba514816a7dd8279537c49ed376..f481c09137fd3ebe31dc90cfbdd603098cf23455 100644 (file)
     <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