diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-04-23 15:09:17 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2019-04-23 15:20:19 +0200 |
commit | 0533cf4371f2329dbaa3b91fee4b79122fb7bd4f (patch) | |
tree | dbc133e53bc23bd72527cd9105201055b8231728 /hwdb | |
parent | hwdb: Fix the OLPC XO rotate key (diff) | |
download | systemd-0533cf4371f2329dbaa3b91fee4b79122fb7bd4f.tar.xz systemd-0533cf4371f2329dbaa3b91fee4b79122fb7bd4f.zip |
hwdb: Fix the key codes of the OLPC XO button pad
These are not on a key pad. These codes are sent by the "rocker" buttons
that resemble a game pad.
Diffstat (limited to 'hwdb')
-rw-r--r-- | hwdb/60-keyboard.hwdb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb index 39b2f5cac5..4762c68a1b 100644 --- a/hwdb/60-keyboard.hwdb +++ b/hwdb/60-keyboard.hwdb @@ -1087,14 +1087,14 @@ evdev:name:AT Translated Set 2 keyboard:phys:sp/serio*/input*:ev:120013:* KEYBOARD_KEY_85=rightmeta # Right grab releases on a different scancode KEYBOARD_KEY_d6=kbdillumtoggle # Fn+Space KEYBOARD_KEY_69=rotate_display - KEYBOARD_KEY_65=kp8 # up - KEYBOARD_KEY_66=kp2 # down - KEYBOARD_KEY_67=kp4 # left - KEYBOARD_KEY_68=kp6 # right - KEYBOARD_KEY_e5=kp9 # pgup - KEYBOARD_KEY_e6=kp3 # pgdn - KEYBOARD_KEY_e7=kp7 # home - KEYBOARD_KEY_e8=kp1 # end + KEYBOARD_KEY_65=btn_dpad_up + KEYBOARD_KEY_66=btn_dpad_down + KEYBOARD_KEY_67=btn_dpad_left + KEYBOARD_KEY_68=btn_dpad_right + KEYBOARD_KEY_e5=btn_north + KEYBOARD_KEY_e6=btn_south + KEYBOARD_KEY_e7=btn_west + KEYBOARD_KEY_e8=btn_east ########################################################### # Onkyo |