From 998a1d9aaf53e671e5e70f090846c28100bc6690 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Wed, 25 Mar 2026 16:29:04 -0700 Subject: [PATCH] fix stylus support --- hw/vade/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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" + '' + ]; }