Created
June 30, 2017 00:04
-
-
Save autofyrsto/6daa5d41c7f742dd16c46c903ba15c8f to your computer and use it in GitHub Desktop.
Xorg configuration file to rotate touchscreen input 90 degrees right.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Section "InputClass" | |
Identifier "Coordinate Transformation Matrix" | |
MatchIsTouchscreen "on" | |
MatchDevicePath "/dev/input/event*" | |
MatchDriver "libinput" | |
Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1" | |
EndSection | |
Thank you ever-so-kindly!
0 degrees: Option "CalibrationMatrix" "1 0 0 0 1 0 0 0 1"
90 degrees: Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1"
180 degrees: Option "CalibrationMatrix" "-1 0 1 0 -1 1 0 0 1"
270 degrees: Option "CalibrationMatrix" "0 -1 1 1 0 0 0 0 1"
From https://docs.sunfounder.com/projects/ts-7/en/latest/quick_user_guide.html
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use in Ubuntu and ASUS t100 or t101 or t102h or t103ha when this file put into "/usr/share/X11/xorg.conf.d"
Thank you !