forked from goodtft/LCD-show
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Section "InputClass" | ||
Identifier "calibration" | ||
MatchProduct "ADS7846 Touchscreen" | ||
Option "Calibration" "3639 145 192 3794" | ||
Option "SwapAxes" "1" | ||
EndSection |