chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
keymap: Only run on key devices
[elogind.git]
/
extras
/
keymap
/
95-keymap.rules
diff --git
a/extras/keymap/95-keymap.rules
b/extras/keymap/95-keymap.rules
index 98db471815df8033774d9ee2d80268610f7fb7c4..6f1b99555efb4d14bdab5f489ced00d6e3df0acb 100644
(file)
--- a/
extras/keymap/95-keymap.rules
+++ b/
extras/keymap/95-keymap.rules
@@
-6,8
+6,9
@@
# pairs.
ACTION=="remove", GOTO="keyboard_end"
# pairs.
ACTION=="remove", GOTO="keyboard_end"
-SUBSYSTEM!="input", GOTO="keyboard_end"
KERNEL!="event*", 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"
SUBSYSTEMS=="usb", GOTO="keyboard_usbcheck"
SUBSYSTEMS=="usb", ENV{ID_VENDOR}=="", IMPORT{program}="usb_id --export %p"
SUBSYSTEMS=="usb", GOTO="keyboard_usbcheck"