chiark / gitweb /
keymap: Only run on key devices
[elogind.git] / extras / keymap / 95-keymap.rules
index 39d232202036d0b7e749386e9d5f83e4e47fdf8c..6f1b99555efb4d14bdab5f489ced00d6e3df0acb 100644 (file)
@@ -6,8 +6,8 @@
 # pairs.
 
 ACTION=="remove", GOTO="keyboard_end"
-SUBSYSTEM!="input", GOTO="keyboard_end"
 KERNEL!="event*", GOTO="keyboard_end"
+ENV{ID_INPUT_KEY}=="", GOTO="keyboard_end"
 SUBSYSTEMS=="bluetooth", GOTO="keyboard_end"
 
 SUBSYSTEMS=="usb", ENV{ID_VENDOR}=="", IMPORT{program}="usb_id --export %p"