config: add tablet rotate configuration

Co-authored-by: Consolatis <35009135+Consolatis@users.noreply.github.com>
This commit is contained in:
Jens Peters 2023-12-29 22:36:06 +01:00 committed by Johan Malm
parent 20bba35570
commit 23ecc32562
5 changed files with 35 additions and 4 deletions

View file

@ -394,12 +394,14 @@
</mouse>
<!--
Tablet buttons emulate regular mouse buttons.
The tablet orientation can be changed in 90 degree steps, thus
rotation can be set to [0|90|180|270].
The tablet *button* can be set to any of [tip|stylus|stylus2|stylus3].
Valid *to* mouse buttons are [left|right|middle].
Tablet buttons emulate regular mouse buttons. The tablet *button* can
be set to any of [tip|stylus|stylus2|stylus3]. Valid *to* mouse buttons
are [left|right|middle].
-->
<tablet>
<tablet rotate="0">
<map button="tip" to="left" />
<map button="stylus" to="right" />
<map button="stylus2" to="middle" />