Skip to content

Instantly share code, notes, and snippets.

@terhechte
Created February 25, 2020 18:38
Show Gist options
  • Save terhechte/d21c75d594853a376f118a7cab5d10f3 to your computer and use it in GitHub Desktop.
Save terhechte/d21c75d594853a376f118a7cab5d10f3 to your computer and use it in GitHub Desktop.
chuwi touchscreen setting
# cat usr/share/X11/xorg.conf.d/99-calibration.conf
Section "InputClass"
Identifier "calibration"
MatchProduct "Silead GSLx680 Touchscreen"
#Option "MinX" "2583"
#Option "MaxX" "65478"
#Option "MinY" "683"
#Option "MaxY" "65876"
Option "SwapXY" "0" # unless it was already set to 1
Option "InvertX" "0" # unless it was already set
Option "InvertY" "0" # unless it was already set
Option "TransformationMatrix" "1.04195815314169422538 0 -.04295980666497074535 0 1.01000215763030545880 -.01427118330610609376 0 0 1"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment