Title: FirePrime Linux: How to add input support for touch-screen [Print This Page] Author: Firefly Time: 10/12/2015 15:57 Title: FirePrime Linux: How to add input support for touch-screen FirePrime Linu: How to add input support for touch-screen By Busybee
1.1 Brief
Window system X11 uses ¡°evdev¡± to handle the touch even. How to add the support for the touch screen? It requires the following two steps:
1.1.1 Add X11 config file,specify evdev driver for touch screen devices.
1.1.2 Improve evdev driver supports itself for touch screen, adding support for simulate right mouse button.
1.2 Configuration
Create a new file /etc/X11/xorg.conf.d/10-evdev-gslX680.conf£¬add the following£º
Section "InputClass"
Identifier "gslX680 evdev touchscreen"
MatchProduct "gslX680"
MatchDevicePath "/dev/input/event*"
Option "EmulateThirdButton" "true"
Option "EmulateThirdButtonTimeout" "500"
Option "EmulateThirdButtonMoveThreshold" "50"
Driver "evdev"
EndSection
Copy the code
1.3 Improve the touch screen support of evdev driver
The system evdev driver can not support the android touch screen input driver very well.Need to path and recompile, the following describes the detail steps:
1.3.1 Install compiling tools environment and relevant dependent libraries