fix stylus support
This commit is contained in:
@@ -26,4 +26,16 @@
|
|||||||
boot.extraModprobeConfig = ''
|
boot.extraModprobeConfig = ''
|
||||||
options snd_hda_intel power_save=1
|
options snd_hda_intel power_save=1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# ILITEK USI stylus/touchscreen support
|
||||||
|
# The stylus device is misclassified as a keyboard by the default evdev
|
||||||
|
# catchall. Force it to use libinput as a tablet device.
|
||||||
|
services.xserver.inputClassSections = [
|
||||||
|
''
|
||||||
|
Identifier "ILITEK stylus tablet"
|
||||||
|
MatchProduct "ILIT2901:00 222A:5539 Stylus"
|
||||||
|
MatchDevicePath "/dev/input/event*"
|
||||||
|
Driver "libinput"
|
||||||
|
''
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user