]> git.mdlowis.com Git - proto/labwc.git/commitdiff
docs: fix format in calibrationMatrix section
authorSnowNF <SnowNF@outlook.com>
Wed, 20 Mar 2024 05:09:21 +0000 (13:09 +0800)
committerJohan Malm <johanmalm@users.noreply.github.com>
Wed, 20 Mar 2024 22:52:19 +0000 (22:52 +0000)
docs/labwc-config.5.scd

index 1253063b3ec38c44819163a6f7aabb83fdb1ff0f..614821a6ef4e1054b6229b4b737c416476b7ddf3 100644 (file)
@@ -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