mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -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>
|
||||
<clickMethod></clickMethod>
|
||||
<sendEventsMode></sendEventsMode>
|
||||
<calibrationMatrix></calibrationMatrix>
|
||||
</device>
|
||||
</libinput>
|
||||
```
|
||||
|
|
@ -734,6 +735,24 @@ extending outward from the snapped edge.
|
|||
|
||||
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
|
||||
|
||||
Two types of window rules are supported, actions and properties. They are
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue