mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
docs: fix format in calibrationMatrix section
This commit is contained in:
parent
6c8060ce14
commit
0e7c726be5
1 changed files with 7 additions and 7 deletions
|
|
@ -741,15 +741,15 @@ extending outward from the snapped edge.
|
|||
|
||||
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 ]
|
||||
[ 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 ]
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue