mirror of
https://github.com/labwc/labwc.git
synced 2026-03-04 01:40:39 -05: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
|
Given a 6-element array [a b c d e f], the matrix is applied as
|
||||||
```
|
```
|
||||||
[ a b c ] [ x ]
|
[ a b c ] [ x ]
|
||||||
[ d e f ] * [ y ]
|
[ d e f ] * [ y ]
|
||||||
[ 0 0 1 ] [ 1 ]
|
[ 0 0 1 ] [ 1 ]
|
||||||
|
|
||||||
The most common matrices are:
|
The most common matrices are:
|
||||||
90 deg cw: 180 deg cw: 270 deg cw: reflect along y axis:
|
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 ]
|
[ 0 -1 1] [ -1 0 1] [ 0 1 0 ] [ -1 0 1 ]
|
||||||
[ 1 0 0] [ 0 -1 1] [ -1 0 1 ] [ 1 0 0 ]
|
[ 1 0 0] [ 0 -1 1] [ -1 0 1 ] [ 1 0 0 ]
|
||||||
[ 0 0 1] [ 0 0 1] [ 0 0 1 ] [ 0 0 1 ]
|
[ 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
|
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