-
Notifications
You must be signed in to change notification settings - Fork 9
Prevent X windows taking the Touchscreen input
Richard Goodwin edited this page Dec 15, 2017
·
10 revisions
When developing Europi, I like to do so within the X graphical environment.
One of the problems is that once I have installed the touchscreen drivers, and am using rapi2fb to mirror /dev/fb0 to /dev/fb and touch input also gets sucked in and interpreted by X windows.
To prevent this, edit the following file:
/usr/share/X11/xorg.conf.d/10-evdev.conf
Note: that in Raspbian Stretch this file doesn't seem to exist, so have a poke about beneath /usr/share/X11/ and see whether you can find anything similar
Find the section that includes the identifier "evdev touchscreen catchall" and add the following (including quotes) at the bottom of that section:
Option "Ignore" "on"
It will probably then look a bit like this:
Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event&"
Driver "evdev"
Option "Ignore" "on"