From: Hans de Goede Date: Fri, 5 Apr 2019 12:47:04 +0000 (+0200) Subject: hwdb: Add key mappings for Logitech 27 MHz S520 keyboard X-Git-Tag: v243-rc1~500^2~3 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fsystemd.git;a=commitdiff_plain;h=9e2e65678d2f79e767cabbd7f9e4558daa9f0a3d 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). --- diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb index b8ea8b66b21..b328d341e91 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