swayfx/sway/config
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
..
bar.c Spawn swaybar as a wayland client 2019-05-12 11:02:42 +03:00
input.c Add calibration_matrix config option 2019-07-05 18:41:56 +03:00
output.c config/output: fix typo in merge_id_on_name 2019-05-09 23:52:01 +03:00
seat.c add seat sub command 'xcursor_theme' 2019-06-05 11:00:10 -04:00