-
Notifications
You must be signed in to change notification settings - Fork 8
/
99-touch_pen_input.conf
39 lines (32 loc) · 1.38 KB
/
99-touch_pen_input.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Touch & Pen input setup for
# ASUS ZenBook Pro Duo UX581GV
# copy this file as following:
# sudo cp 99-touch_pen_input.conf /usr/share/X11/xorg.conf.d/
#
# source
# https://askubuntu.com/questions/253395/touchscreen-calibration-with-dual-monitors-nvidia-and-xinput?rq=1
# top screen
Section "InputClass"
Identifier "TopTouchScreen_Mapping"
MatchProduct "ELAN9008:00 04F3:29B6"
MatchIsTouchscreen "on"
#Option "CalibrationMatrix" "1.000000 0.000000 0.000000 0.000000 0.662577 0.000000 0.000000 0.000000 1.000000"
EndSection
# bottom screen
Section "InputClass"
Identifier "BottomTouchScreen_Mapping"
MatchProduct "ELAN9009:00 04F3:29A1"
MatchIsTouchscreen "on"
Option "CalibrationMatrix" "1.000000 0.000000 0.000000 0.000000 0.337423 0.662577 0.000000 0.000000 1.000000"
EndSection
# force wacom driver for pen
# maybe this is not needed if
# https://github.com/linuxwacom/libwacom/pull/186
# is merged..
Section "InputClass"
Identifier "HandlePenStylus_withWacom"
MatchProduct "ELAN9009:00 04F3:29A1|ELAN9008:00 04F3:29B6"
MatchDevicePath "/dev/input/event*"
MatchIsTablet "on"
Driver "wacom"
EndSection