chiark / gitweb /
extras/keymap: fix hash table collisions
authorMartin Pitt <martin.pitt@ubuntu.com>
Wed, 9 Sep 2009 09:09:17 +0000 (11:09 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Wed, 9 Sep 2009 09:09:17 +0000 (11:09 +0200)
commit6983c0d0f2e396102118016eb7d9dafb3e193d57
tree48270a3b038cb8be1666e05d3bce2c9c633851f7
parent78715f65c92a8892960e2a5fce945496939f8599
extras/keymap: fix hash table collisions

More than one key name was mapped to the same key, due to linux/input.h
defining some aliases (in particular, KEY_HANGUEL, KEY_SCREENLOCK,
KEY_MIN_INTERESTING). These caused hash table collisions.

Changed the generation of the tables to ignore these aliases, and updated all
keymaps to use the canonical name.

This was detected by llvm-clang-analyzer. Thanks to Lennart Poettering for
doing these checks and pointing this out!

https://launchpad.net/bugs/426647
Makefile.am
extras/keymap/keymaps/acer-travelmate_c300
extras/keymap/keymaps/dell
extras/keymap/keymaps/hewlett-packard
extras/keymap/keymaps/hewlett-packard-presario-2100
extras/keymap/keymaps/lenovo-thinkpad_x200_tablet
extras/keymap/keymaps/lenovo-thinkpad_x6_tablet
extras/keymap/keymaps/module-ibm
extras/keymap/keymaps/module-lenovo
extras/keymap/keymaps/toshiba-satellite_a110