Information

How to modify the display orientation 2016-08-31
3, modify the touch parameters
After display direction changes, still need to do the touch settings by modifying the
99-calibration.conf file. Execute command:
sudonano/etc/X11/xorg.conf.d/99-calibration.conf
Take 5HDMI LCD as example:
The default parameter is 0 degrees, that is display_rotate = 0, correspondingly
the touch calibration parameters are:
Section "InputClass"
Identifier "calibration"
MatchProduct "ADS7846 Touchscreen"
Option "Calibration" "140 3951261 3998 "
Option "SwapAxes" "0"
EndSection
To rotate the display 90degrees, that is display_rotate = 1, the touch parameters
should be revised correspondingly as follows:
Section "InputClass"
Identifier "calibration"
MatchProduct "ADS7846 Touchscreen"
Option "Calibration" "2613998 3951 140"
Option "SwapAxes" "1"
EndSection