From d6babf4d432cc03a126ecc4eecf63dab00e56d23 Mon Sep 17 00:00:00 2001 From: goodtft Date: Wed, 28 Mar 2018 15:02:13 +0800 Subject: [PATCH] Add files via upload --- usr/40-libinput.conf-MPI5001 | 36 ++++++++++++++++++++++++++++++++++++ usr/99-calibration.conf-24 | 6 ++++++ 2 files changed, 42 insertions(+) create mode 100644 usr/40-libinput.conf-MPI5001 create mode 100644 usr/99-calibration.conf-24 diff --git a/usr/40-libinput.conf-MPI5001 b/usr/40-libinput.conf-MPI5001 new file mode 100644 index 0000000..2207d9d --- /dev/null +++ b/usr/40-libinput.conf-MPI5001 @@ -0,0 +1,36 @@ +# Match on all types of devices but tablet devices and joysticks +Section "InputClass" + Identifier "libinput pointer catchall" + MatchIsPointer "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection + +Section "InputClass" + Identifier "libinput keyboard catchall" + MatchIsKeyboard "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection + +Section "InputClass" + Identifier "libinput touchpad catchall" + MatchIsTouchpad "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection + +Section "InputClass" + Identifier "libinput touchscreen catchall" + MatchIsTouchscreen "on" + Option "CalibrationMatrix" "1 0 0 0 1 0 0 0 1" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection + +Section "InputClass" + Identifier "libinput tablet catchall" + MatchIsTablet "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection diff --git a/usr/99-calibration.conf-24 b/usr/99-calibration.conf-24 new file mode 100644 index 0000000..4f2d9b8 --- /dev/null +++ b/usr/99-calibration.conf-24 @@ -0,0 +1,6 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3639 145 192 3794" + Option "SwapAxes" "1" +EndSection