1
1
mirror of https://github.com/swaywm/sway synced 2024-09-28 11:20:05 +02:00
sway/include
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
..
sway Add calibration_matrix config option 2019-07-05 18:41:56 +03:00
swaybar
swaynag
background-image.h
cairo.h
ipc-client.h
ipc.h
list.h
log.h
loop.h
meson.build
pango.h
pool-buffer.h
stringop.h
util.h