config: add tablet button mapping configuration

Co-authored-by: Consolatis <35009135+Consolatis@users.noreply.github.com>
This commit is contained in:
Jens Peters 2023-12-29 10:06:17 +01:00 committed by Johan Malm
parent f0b72e3af7
commit 567b81ea10
6 changed files with 128 additions and 0 deletions

View file

@ -393,6 +393,18 @@
</mouse>
<!--
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>
<map button="tip" to="left" />
<map button="stylus" to="right" />
<map button="stylus2" to="middle" />
</tablet>
<!--
The *category* element can be set to touch, touchpad, non-touch, default or
the name of a device. You can obtain device names by running *libinput