From 6983c0d0f2e396102118016eb7d9dafb3e193d57 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 9 Sep 2009 11:09:17 +0200 Subject: 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 --- extras/keymap/keymaps/lenovo-thinkpad_x6_tablet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras/keymap/keymaps/lenovo-thinkpad_x6_tablet') diff --git a/extras/keymap/keymaps/lenovo-thinkpad_x6_tablet b/extras/keymap/keymaps/lenovo-thinkpad_x6_tablet index 6fd16b5662..25fc842808 100644 --- a/extras/keymap/keymaps/lenovo-thinkpad_x6_tablet +++ b/extras/keymap/keymaps/lenovo-thinkpad_x6_tablet @@ -1,5 +1,5 @@ 0x6C f21 # rotate -0x68 screenlock # screenlock +0x68 coffee # screenlock 0x6B esc # escape 0x6D right # right on d-pad 0x6E left # left on d-pad -- cgit v1.2.3-54-g00ecf