Advertisement
Guest User

Untitled

a guest
May 26th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. Calibrating standard Xorg driver "ADS7846 Touchscreen"
  2. current calibration values: min_x=0, max_x=65535 and min_y=0, max_y=65535
  3. If these values are estimated wrong, either supply it manually with the --precalib option, or run the 'get_precalib.sh' script to automatically get it (through HAL).
  4. --> Making the calibration permanent <--
  5. copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf' (/usr/share/X11/xorg.conf.d/ in some distro's)
  6. Section "InputClass"
  7. Identifier "calibration"
  8. MatchProduct "ADS7846 Touchscreen"
  9. Option "MinX" "21674"
  10. Option "MaxX" "22494"
  11. Option "MinY" "48656"
  12. Option "MaxY" "50158"
  13. Option "SwapXY" "1" # unless it was already set to 1
  14. Option "InvertX" "0" # unless it was already set
  15. Option "InvertY" "0" # unless it was already set
  16. EndSection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement