]> git.ipfire.org Git - thirdparty/systemd.git/commit
keymap: Only run on key devices
authorMartin Pitt <martin.pitt@ubuntu.com>
Wed, 20 Jul 2011 10:49:40 +0000 (12:49 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Wed, 20 Jul 2011 10:52:28 +0000 (12:52 +0200)
commit2614261e4dcbf0f5e342a274694a243e9f644dc1
tree0db7dd163b953165d6bdc7b5ef6b310c6e02e769
parent4da9fcb366b32f4c50464ce76099379722ab9c9f
keymap: Only run on key devices

Skip event devices which don't have ID_INPUT_KEY set, to avoid running the long
list of rules more than necessary.

Note that we don't limit ourselves to ID_INPUT_KEYBOARD, as we might want to
fix extra buttons on e. g. fancy mouses or tablet screens, too.
extras/keymap/95-keymap.rules