diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2009-09-09 11:09:17 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2009-09-09 11:09:17 +0200 |
commit | 6983c0d0f2e396102118016eb7d9dafb3e193d57 (patch) | |
tree | 48270a3b038cb8be1666e05d3bce2c9c633851f7 /extras/keymap/keymaps/acer-travelmate_c300 | |
parent | 78715f65c92a8892960e2a5fce945496939f8599 (diff) |
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
Diffstat (limited to 'extras/keymap/keymaps/acer-travelmate_c300')
-rw-r--r-- | extras/keymap/keymaps/acer-travelmate_c300 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/keymap/keymaps/acer-travelmate_c300 b/extras/keymap/keymaps/acer-travelmate_c300 index bfef4cf868..790332a8a5 100644 --- a/extras/keymap/keymaps/acer-travelmate_c300 +++ b/extras/keymap/keymaps/acer-travelmate_c300 @@ -2,4 +2,4 @@ 0x68 up 0x69 down 0x6B fn -0x6C screenlock # FIXME: lock tablet device/buttons +0x6C coffee # FIXME: lock tablet device/buttons |