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