docs: improve formatting

This commit is contained in:
Jens Peters 2024-01-06 10:57:21 +01:00 committed by Johan Malm
parent c229f6edc0
commit ff5b00c170

View file

@ -394,25 +394,25 @@
</mouse>
<!--
The active tablet area can be specified by setting the top/left
coordinate (in mm) and/or width/height (in mm). If width or height
are omitted or default (0.0), width/height will be set to the
remaining width/height seen from top/left.
The active tablet area can be specified by setting the *top*/*left*
coordinate (in mm) and/or *width*/*height* (in mm). If width or
height are omitted or default (0.0), width/height will be set to
the remaining width/height seen from top/left.
The tablet orientation can be changed in 90 degree steps, thus
rotation can be set to [0|90|180|270]. Rotation will be applied
*rotate* can be set to [0|90|180|270]. Rotation will be applied
after applying tablet area transformation.
Tablet buttons emulate regular mouse buttons. The tablet *button* can
be set to any of [tip|stylus|stylus2|stylus3|pad|pad2|pad3|..|pad9].
Valid *to* mouse buttons are [left|right|middle].
be set to any of [Tip|Stylus|Stylus2|Stylus3|Pad|Pad2|Pad3|..|Pad9].
Valid *to* mouse buttons are [Left|Right|Middle].
-->
<tablet rotate="0">
<!-- Active area dimensions are in mm -->
<area top="0.0" left="0.0" width="0.0" height="0.0">
<map button="tip" to="left" />
<map button="stylus" to="right" />
<map button="stylus2" to="middle" />
<map button="Tip" to="Left" />
<map button="Stylus" to="Right" />
<map button="Stylus2" to="Middle" />
</tablet>
<!--