2017-09-21 22:23:54 +00:00
|
|
|
# udev rules file
|
2017-10-17 20:38:47 +00:00
|
|
|
# All device names can be read from weston's logfile
|
2017-09-21 22:23:54 +00:00
|
|
|
|
2017-10-12 20:19:45 +00:00
|
|
|
# Touchscreen
|
|
|
|
# default ENV{LIBINPUT_CALIBRATION_MATRIX}="1 0 0 0 1 0"
|
|
|
|
# Left - 90 degree clockwise ENV{LIBINPUT_CALIBRATION_MATRIX}="0 -1 1 1 0 0"
|
|
|
|
# 180 degree clockwise ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 0 -1 1"
|
|
|
|
# Right - 270 degree clockwise ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1"
|
|
|
|
# reflect along y axis ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 1 0 0"
|
|
|
|
|
2017-09-21 22:23:54 +00:00
|
|
|
SUBSYSTEM=="input", ATTRS{name}=="Elan Touchscreen", \
|
2017-10-12 20:19:45 +00:00
|
|
|
ENV{ID_INPUT}="1", ENV{ID_INPUT_TOUCHSCREEN}="1", \
|
|
|
|
ENV{LIBINPUT_CALIBRATION_MATRIX}="1 0 0 0 1 0"
|
|
|
|
|