summaryrefslogtreecommitdiffstats
path: root/hwdb.d
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2019-06-09 19:40:32 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-12-19 11:30:53 +0100
commit419a8a2dabb4184080d06f583f9539780ec10ec6 (patch)
tree4fa2ee49dbec05e3c94dd859daf72afd286b2392 /hwdb.d
parentMerge pull request #14382 from topimiettinen/fix-analyze-security-rootimage (diff)
downloadsystemd-419a8a2dabb4184080d06f583f9539780ec10ec6.tar.xz
systemd-419a8a2dabb4184080d06f583f9539780ec10ec6.zip
hwdb: Add LCD menu key mappings for the Logitech MX5000 and MX5500 keyboards
The kernel now has proper evdev codes for the menu buttons below the small LCD-s builtin to some keyboards. Add mappings for these buttons on the Logitech MX5000 and MX5500 keyboards.
Diffstat (limited to 'hwdb.d')
-rw-r--r--hwdb.d/60-keyboard.hwdb8
1 files changed, 4 insertions, 4 deletions
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 1f6a8f0533..1474a860b3 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -973,16 +973,16 @@ evdev:input:b0003v046Dp00FE*
KEYBOARD_KEY_c1018=media # Media button
# MX5000 keyboard (HID proxy mode and bluetooth matches)
-# The 4 buttons below the LCD send codes 0xc100c - 0xc100f. They only send
-# these codes when the LCD is displaying text send to it. These codes are
-# directly consumed by recent versions of lcdproc when it is driving the LCD,
-# so these codes should not be mapped
evdev:input:b0003v046DpB305*
evdev:input:b0005v046DpB305*
KEYBOARD_KEY_c0230=zoomreset # HUT says fullscreen, kbd says 100%
KEYBOARD_KEY_c1004=send # Send and receive / sync button
KEYBOARD_KEY_c1006=coffee # Status (online/away) button
KEYBOARD_KEY_c1007=camera # Webcam button
+ KEYBOARD_KEY_c100c=kbd_lcd_menu1 # 1st button below the builtin LCD
+ KEYBOARD_KEY_c100d=kbd_lcd_menu4 # 4th button below the builtin LCD
+ KEYBOARD_KEY_c100e=kbd_lcd_menu2 # 2nd button below the builtin LCD
+ KEYBOARD_KEY_c100f=kbd_lcd_menu3 # 3th button below the builtin LCD
KEYBOARD_KEY_c1038=prog1 # Smartkey A → XF86Launch1
KEYBOARD_KEY_c1039=prog2 # Smartkey B → XF86Launch2
KEYBOARD_KEY_c103a=prog3 # Smartkey C → XF86Launch3