summaryrefslogtreecommitdiff
path: root/hwdb
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2019-04-05 14:47:04 +0200
committerHans de Goede <hdegoede@redhat.com>2019-04-29 17:29:08 +0200
commit9e2e65678d2f79e767cabbd7f9e4558daa9f0a3d (patch)
tree8767ae8bd21dc728fb548179453049934feb90f3 /hwdb
parentc23bc35f9bea7cd1b1949436939bf8f1ccd90e98 (diff)
downloadsystemd-9e2e65678d2f79e767cabbd7f9e4558daa9f0a3d.tar.gz
hwdb: Add key mappings for Logitech 27 MHz S520 keyboard
The upcoming kernel enumerates Logitech 27 MHz wireless keyboards and mice by there wireless-PID, rather then using the PID of the receiver which is the same for all 27MHz Logitech devices. This allows us to add per model keymappings for the special keys on these keyboards. This commit adds such mappings for the S520 keyboard (modelnumber Y-RBA97).
Diffstat (limited to 'hwdb')
-rw-r--r--hwdb/60-keyboard.hwdb17
1 files changed, 17 insertions, 0 deletions
diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb
index b8ea8b66b2..b328d341e9 100644
--- a/hwdb/60-keyboard.hwdb
+++ b/hwdb/60-keyboard.hwdb
@@ -941,6 +941,23 @@ evdev:input:b0003v046Dp0065*
KEYBOARD_KEY_c104b=battery # Battery icon (Fn + F11)
KEYBOARD_KEY_c104c=ejectcd # Eject icon (Fn + F12)
+# S520 keyboard (27 MHz, modelnumber Y-RBA97)
+# Note this one uses non-standard codes for FN + F9 - Fn + F12?
+evdev:input:b0003v046Dp0066*
+ KEYBOARD_KEY_c100e=prog4 # Smartkey D (Fn + F12) → XF86Launch4
+ KEYBOARD_KEY_c1019=prog1 # Smartkey A (Fn + F9) → XF86Launch1
+ KEYBOARD_KEY_c101a=prog2 # Smartkey B (Fn + F10) → XF86Launch2
+ KEYBOARD_KEY_c101b=prog3 # Smartkey C (Fn + F11) → XF86Launch3
+ KEYBOARD_KEY_c1041=wordprocessor # Word icon (Fn + F1)
+ KEYBOARD_KEY_c1042=spreadsheet # Excel icon (Fn + F2)
+ KEYBOARD_KEY_c1043=presentation # Presentation icon (Fn + F3)
+ KEYBOARD_KEY_c1044=calendar # Calendar icon (Fn + F4)
+ KEYBOARD_KEY_c1045=homepage # Home icon (Fn + F5)
+ KEYBOARD_KEY_c1046=email # Letter icon (Fn + F6)
+ KEYBOARD_KEY_c1047=search # Magnifying glass icon (Fn + F7)
+ KEYBOARD_KEY_c1048=config # Window with gear icon (Fn + F8)
+ KEYBOARD_KEY_c106f=battery # Battery icon
+
# iTouch
evdev:input:b0003v046DpC308*
KEYBOARD_KEY_90001=shop # Shopping