summaryrefslogtreecommitdiff
path: root/hwdb
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2019-04-02 17:23:12 +0200
committerHans de Goede <hdegoede@redhat.com>2019-04-29 17:29:08 +0200
commit673635731016606ce20dab4266af434509ebeffe (patch)
tree89c1b635e03863e25d640240279ead6b5b43dc1d /hwdb
parent9e2e65678d2f79e767cabbd7f9e4558daa9f0a3d (diff)
downloadsystemd-673635731016606ce20dab4266af434509ebeffe.tar.gz
hwdb: Add key mappings for Logitech MX5000 keyboard
Add support for various custom key-codes emitted by the Logitech MX5000 keyboard, both when attached through its Bluetooth-receiver in USB-HID proxy mode; and when connected as a Bluetooth device.
Diffstat (limited to 'hwdb')
-rw-r--r--hwdb/60-keyboard.hwdb16
1 files changed, 16 insertions, 0 deletions
diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb
index b328d341e9..93cf4aa998 100644
--- a/hwdb/60-keyboard.hwdb
+++ b/hwdb/60-keyboard.hwdb
@@ -958,6 +958,22 @@ evdev:input:b0003v046Dp0066*
KEYBOARD_KEY_c1048=config # Window with gear icon (Fn + F8)
KEYBOARD_KEY_c106f=battery # Battery icon
+# 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_c1038=prog1 # Smartkey A → XF86Launch1
+ KEYBOARD_KEY_c1039=prog2 # Smartkey B → XF86Launch2
+ KEYBOARD_KEY_c103a=prog3 # Smartkey C → XF86Launch3
+ KEYBOARD_KEY_c103b=prog4 # Smartkey D → XF86Launch4
+
# iTouch
evdev:input:b0003v046DpC308*
KEYBOARD_KEY_90001=shop # Shopping