keychron-udev-rules: add hidraw uaccess tag for keychron launcher support

This commit is contained in:
Andy Zhang
2026-01-06 17:23:33 -08:00
parent e7945c637e
commit 1da15355cf
@@ -13,6 +13,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
src = writeTextFile {
name = "69-keychron.rules";
text = ''
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="3434", MODE="0660", TAG+="uaccess"
KERNEL=="event*", SUBSYSTEM=="input", ENV{ID_VENDOR_ID}=="3434", ENV{ID_INPUT_JOYSTICK}=="*?", ENV{ID_INPUT_JOYSTICK}=""
'';
};