summaryrefslogtreecommitdiff
path: root/keycodes
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-12-21 11:08:08 +0100
committerSergey Udaltsov <sergey.udaltsov@gmail.com>2019-03-16 21:49:06 +0000
commit67b5d6bfbee52bd59f3e5dac3e0d552ed572b3b2 (patch)
treeaec20b1188cae2f057c3aad758698eda18be0a29 /keycodes
parentd4c44c4227c0cff3f8df5ec614676838091a16e1 (diff)
downloadxkeyboard-config-67b5d6bfbee52bd59f3e5dac3e0d552ed572b3b2.tar.gz
evdev/inet: Fix KEY_KEYBOARD mapping
KEY_KEYBOARD has an evdev-keycode value of 374 not 366. It seems that with the original addition of the mapping the evdev-keycode value was mistaken for the X scancode which is 8 higher then the evdev-keycode since the X scancodes start at 8. What seems to have happened is that the evdev-keycode was used instead of the X scancode and then 8 was subtracted for the wrong "// #define KEY_KEYBOARD 366" comment. This commit corrects the comment to say 374 and corrects the X scancode being mapped to 382. Cc: Christian Kellner <christian@kellner.me> Reviewed-by: Christian Kellner <christian@kellner.me> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'keycodes')
-rw-r--r--keycodes/evdev2
1 files changed, 1 insertions, 1 deletions
diff --git a/keycodes/evdev b/keycodes/evdev
index 90b8278..dd2b865 100644
--- a/keycodes/evdev
+++ b/keycodes/evdev
@@ -285,7 +285,7 @@ default xkb_keycodes "evdev" {
<I255> = 255; // #define KEY_RFKILL 247
<I372> = 372; // #define KEY_FAVORITES 364
- <I374> = 374; // #define KEY_KEYBOARD 366
+ <I382> = 382; // #define KEY_KEYBOARD 374
// Fake keycodes for virtual keys
<LVL3> = 92;