Advertisement
Guest User

99-calibration.conf-35

a guest
Apr 8th, 2019
438
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. # This is the file "99-calibration.conf-35" that the script "LCD35-show" is supposed to copy onto (i.e. overwrite with) /etc/X11/xorg.conf.d/99-calibration.conf on a Raspberry Pi. Don't use the one in https://github.com/goodtft/LCD-show/tree/master/usr/.
  2.  
  3. # Use this file for Raspbian 9.8 Stretch. Might not work with older or newer versions of Raspbian!
  4.  
  5. Section "InputClass"
  6. Identifier "calibration"
  7. MatchProduct "ADS7846 Touchscreen"
  8. Option "Calibration" "3936 227 268 3880"
  9. Option "SwapAxes" "1"
  10. # Hat trick to get the pen to work properly on the touch screen:
  11. Option "TransformationMatrix" "0 -1 1 1 0 0 0 0 1"
  12. EndSection
  13.  
  14. Section "Device"
  15. # WaveShare SpotPear 3.5", framebuffer 1
  16. Identifier "uga"
  17. driver "fbdev"
  18. Option "fbdev" "/dev/fb1"
  19. Option "ShadowFB" "off"
  20. EndSection
  21.  
  22. Section "Monitor"
  23. # Primary monitor. WaveShare SpotPear 480x320
  24. Identifier "WSSP"
  25. EndSection
  26.  
  27. Section "Screen"
  28. Identifier "primary"
  29. Device "uga"
  30. Monitor "WSSP"
  31. EndSection
  32.  
  33. Section "ServerLayout"
  34. Identifier "default"
  35. Screen 0 "primary" 0 0
  36. EndSection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement