Skip to content

Commit 9287775

Browse files
mfxaMarcus Funch
authored andcommitted
Add script that fixes touchscreens sending the wrong coordinates
1 parent 6b3ae27 commit 9287775

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#! /usr/bin/env sh
2+
3+
EVDEV_FILE=/usr/share/X11/xorg.conf.d/10-evdev.conf
4+
5+
mkdir "$(dirname $EVDEV_FILE)"
6+
7+
cat << EOF > $EVDEV_FILE
8+
Section "InputClass"
9+
Identifier "evdev touchscreen catchall"
10+
MatchIsTouchscreen "on"
11+
MatchDevicePath "/dev/input/event*"
12+
Driver "evdev"
13+
Option "InvertY" "true"
14+
Option "InvertX" "true"
15+
EndSection
16+
EOF

0 commit comments

Comments
 (0)