William McKinnon
|
82fe097b31
|
feat: sway 1.10 rebase (#367)
Co-authored-by: Erik Reider <35975961+ErikReider@users.noreply.github.com>
|
2025-02-16 15:33:52 -05:00 |
|
Sergei Dolgov
|
c9cb5ced7f
|
calibration_matrix: expect 6 individual values
Example usage from command line:
swaymsg input type:touch calibration_matrix -- -1 0 1 0 -1 1
|
2019-07-05 18:41:56 +03:00 |
|
Sergei Dolgov
|
bcceb61b43
|
Use isnan
|
2019-07-05 18:41:56 +03:00 |
|
Sergei Dolgov
|
01ec18e802
|
Add calibration_matrix config option
Can be used to change the orientation of a touchscreen.
Example usage with swaymsg:
# identity
swaymsg input type:touch calibration_matrix '"1 0 0 0 1 0"'
# 90 degree clockwise
swaymsg input type:touch calibration_matrix '"0 -1 1 1 0 0"'
# 180 degree clockwise
swaymsg input type:touch calibration_matrix '"-1 0 1 0 -1 1"'
# 270 degree clockwise
swaymsg input type:touch calibration_matrix '"0 1 0 -1 0 1"'
Documentation:
https://wayland.freedesktop.org/libinput/doc/latest/absolute-axes.html#calibration-of-absolute-devices
|
2019-07-05 18:41:56 +03:00 |
|