diff --git a/hw/vade/default.nix b/hw/vade/default.nix index 9ad39aa..bd90145 100644 --- a/hw/vade/default.nix +++ b/hw/vade/default.nix @@ -26,4 +26,16 @@ boot.extraModprobeConfig = '' 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" + '' + ]; }