summaryrefslogtreecommitdiffstats
path: root/keymap/keymap.c
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2009-05-24 10:41:07 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2009-05-24 10:41:07 +0200
commit08478023d6c1983b802a9d3d67e712221c441848 (patch)
tree7d1df4412c6367e35199f43ba7c6d322894ea361 /keymap/keymap.c
parent0416939e4011971a431d3a9c0766257793d07a56 (diff)
keymap: more efficient udev rules
Read [dmi/id]sys_vendor just once into a variable and only use the variable in all the rules. Short-circuit rules file if vendor is empty. Also fix the ThinkPad/Asus Extra Buttons rules to check parent's name as well, for more robustness.
Diffstat (limited to 'keymap/keymap.c')
0 files changed, 0 insertions, 0 deletions