mirror of
https://github.com/labwc/labwc.git
synced 2026-03-17 05:33:47 -04:00
docs: add calibrationMatrix section for libinput
This commit is contained in:
parent
fb921ab431
commit
e311ff6466
2 changed files with 20 additions and 3 deletions
|
|
@ -629,6 +629,7 @@ extending outward from the snapped edge.
|
||||||
<disableWhileTyping></disableWhileTyping>
|
<disableWhileTyping></disableWhileTyping>
|
||||||
<clickMethod></clickMethod>
|
<clickMethod></clickMethod>
|
||||||
<sendEventsMode></sendEventsMode>
|
<sendEventsMode></sendEventsMode>
|
||||||
|
<calibrationMatrix></calibrationMatrix>
|
||||||
</device>
|
</device>
|
||||||
</libinput>
|
</libinput>
|
||||||
```
|
```
|
||||||
|
|
@ -734,6 +735,24 @@ extending outward from the snapped edge.
|
||||||
|
|
||||||
By default, this setting is not configured.
|
By default, this setting is not configured.
|
||||||
|
|
||||||
|
*<libinput><device><calibrationMatrix>* [six float values split by space]
|
||||||
|
Apply the 3x3 transformation matrix to absolute device coordinates. This
|
||||||
|
matrix has no effect on relative events.
|
||||||
|
|
||||||
|
Given a 6-element array [a b c d e f], the matrix is applied as
|
||||||
|
[ a b c ] [ x ]
|
||||||
|
[ d e f ] * [ y ]
|
||||||
|
[ 0 0 1 ] [ 1 ]
|
||||||
|
|
||||||
|
The most common matrices are:
|
||||||
|
90 deg cw: 180 deg cw: 270 deg cw: reflect along y axis:
|
||||||
|
[ 0 -1 1] [ -1 0 1] [ 0 1 0 ] [ -1 0 1 ]
|
||||||
|
[ 1 0 0] [ 0 -1 1] [ -1 0 1 ] [ 1 0 0 ]
|
||||||
|
[ 0 0 1] [ 0 0 1] [ 0 0 1 ] [ 0 0 1 ]
|
||||||
|
|
||||||
|
visit https://wayland.freedesktop.org/libinput/doc/latest/absolute-axes.html#calibration-of-absolute-devices
|
||||||
|
for more information
|
||||||
|
|
||||||
## WINDOW RULES
|
## WINDOW RULES
|
||||||
|
|
||||||
Two types of window rules are supported, actions and properties. They are
|
Two types of window rules are supported, actions and properties. They are
|
||||||
|
|
|
||||||
|
|
@ -504,9 +504,7 @@
|
||||||
- tapButtonMap [lrm|lmr]
|
- tapButtonMap [lrm|lmr]
|
||||||
- clickMethod [none|buttonAreas|clickfinger]
|
- clickMethod [none|buttonAreas|clickfinger]
|
||||||
- sendEventsMode [yes|no|disabledOnExternalMouse]
|
- sendEventsMode [yes|no|disabledOnExternalMouse]
|
||||||
- calibrationMatrix [six float values split by space],
|
- calibrationMatrix [six float values split by space]
|
||||||
visit https://wayland.freedesktop.org/libinput/doc/latest/absolute-axes.html#calibration-of-absolute-devices
|
|
||||||
for more information
|
|
||||||
-->
|
-->
|
||||||
<libinput>
|
<libinput>
|
||||||
<device category="default">
|
<device category="default">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue