]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add LCD menu key mappings for the Logitech MX5000 and MX5500 keyboards
authorHans de Goede <hdegoede@redhat.com>
Sun, 9 Jun 2019 17:40:32 +0000 (19:40 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 19 Dec 2019 10:30:53 +0000 (11:30 +0100)
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.

hwdb.d/60-keyboard.hwdb

index 1f6a8f0533473e11018403f20478b728b866d74d..1474a860b34cd3411ee4e899917faad1bd7f7a2c 100644 (file)
@@ -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