]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Update generic Logitech 27 MHz keyboard key mappings
authorHans de Goede <hdegoede@redhat.com>
Sun, 12 May 2019 10:21:33 +0000 (12:21 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sun, 12 May 2019 10:30:22 +0000 (12:30 +0200)
This commit makes 2 changes to the generic Logitech 27 MHz keyboard keymap:
1. It moves some codes from being keyboard specific to the generic 27MHz
   mapping table, these codes do not conflict on different models and at
   least the c1019 - c101b codes are not only used on the MX3000 keyboard,
   but also on the S510 Remote control
2. Add a bunch of new codes found on the S510 keyboard and S510 remote control

hwdb/60-keyboard.hwdb

index a05db181b82812f4ef7855b9bb5f2ef8e6a79e62..def9acef99a82658e9907d175b2d78b35bce622d 100644 (file)
@@ -847,23 +847,39 @@ evdev:input:b0003v04B3p301B*
 evdev:input:b0003v046Dp00*
  KEYBOARD_KEY_c0183=media           # HUT:config, kbd:Media/Music player button
  KEYBOARD_KEY_c1001=chat            # Messenger button
+ KEYBOARD_KEY_c1002=camera          # Webcam button
  KEYBOARD_KEY_c1003=audio           # Music Browser button
  KEYBOARD_KEY_c1004=video           # Video Browser button
  KEYBOARD_KEY_c1005=images          # Image Browser button
  KEYBOARD_KEY_c100a=documents       # Document Browser button
+ KEYBOARD_KEY_c100b=rewind          # Rewind button
+ KEYBOARD_KEY_c100c=fastforward     # Fast Forward button
+ KEYBOARD_KEY_c100f=f14             # Track 1 button → f14 → XF86Launch5
+ KEYBOARD_KEY_c1010=f15             # Track 2 button → f15 → XF86Launch6
+ KEYBOARD_KEY_c1011=channeldown     # Playlist back button
+ KEYBOARD_KEY_c1012=channelup       # Playlist advance button
  KEYBOARD_KEY_c1013=camera          # Webcam button
  KEYBOARD_KEY_c1014=coffee          # Status button
  KEYBOARD_KEY_c1015=record          # Record symbol button
  KEYBOARD_KEY_c1016=sound           # Flame/CD burning → sound → XF86AudioPreset
  KEYBOARD_KEY_c1017=ejectcd         # Eject button
  KEYBOARD_KEY_c1018=config          # Remote-control ico
+ KEYBOARD_KEY_c1019=f14             # Preset 1 → f14 → XF86Launch5
+ KEYBOARD_KEY_c101a=f15             # Preset 2 → f15 → XF86Launch6
+ KEYBOARD_KEY_c101b=f16             # Preset 3 → f16 → XF86Launch7
  KEYBOARD_KEY_c101c=cyclewindows    # 2 overlapping windows icon
  KEYBOARD_KEY_c101f=zoomout         # zoom - button / - side of zoomrocker
  KEYBOARD_KEY_c1020=zoomin          # zoom + button / + side off zoom rocker
  KEYBOARD_KEY_c1021=zoomreset       # 100% symbol on kbd left side
  KEYBOARD_KEY_c1023=close           # [x] symbol on kbd left side
+ KEYBOARD_KEY_c1027=menu            # Hamburger menu icon
+ KEYBOARD_KEY_c1028=angle           # Rotate button
  KEYBOARD_KEY_c1029=shuffle         # Shuffle button
+ KEYBOARD_KEY_c102a=back            # Back button
+ KEYBOARD_KEY_c102b=cyclewindows    # Empty window icon
  KEYBOARD_KEY_c102d=www             # www text + magnifierglass icon
+ KEYBOARD_KEY_c1031=connect         # Pickup phone button → connect → XF86Go
+ KEYBOARD_KEY_c1032=cancel          # Hangup phone button → cancel → Cancel
  KEYBOARD_KEY_c1041=help            # Help text or icon (Fn + F1)
  KEYBOARD_KEY_c1042=wordprocessor   # Word icon (Fn + F2)
  KEYBOARD_KEY_c1043=spreadsheet     # Excel icon (Fn + F3)
@@ -879,7 +895,6 @@ evdev:input:b0003v046Dp00*
 
 # Cordless Access Keyboard (27 MHz, modelnumber Y-RH35)
 evdev:input:b0003v046Dp0042*
- KEYBOARD_KEY_c1002=camera
  KEYBOARD_KEY_c1041=new
  KEYBOARD_KEY_c1042=reply
  KEYBOARD_KEY_c1043=forward
@@ -911,11 +926,6 @@ evdev:input:b0003v046Dp0045*
 # cleared then the scroll-wheel events for these buttons go away and then
 # tilting the scrollwheel left/right starts sending c1022 / c1024 events
 evdev:input:b0003v046Dp0057*
- KEYBOARD_KEY_c1011=channeldown  # Playlist back button
- KEYBOARD_KEY_c1012=channelup    # Playlist advance button
- KEYBOARD_KEY_c1019=f14          # Preset 1 → f14 → XF86Launch5
- KEYBOARD_KEY_c101a=f15          # Preset 2 → f15 → XF86Launch6
- KEYBOARD_KEY_c101b=f16          # Preset 3 → f16 → XF86Launch7
  KEYBOARD_KEY_c1041=battery      # Battery icon (Fn + F1)
 
 #KEYBOARD_KEY_c101d=scrolldown   # Button below scrollwheel (see note above)
@@ -926,11 +936,7 @@ evdev:input:b0003v046Dp0057*
 # MX3200 keyboard (27 MHz, modelnumber Y-RAV80)
 evdev:input:b0003v046Dp005C*
  KEYBOARD_KEY_c1001=phone           # VOIP button
- KEYBOARD_KEY_c100f=f14             # Track 1 button → f14 → XF86Launch5
- KEYBOARD_KEY_c1010=f15             # Track 2 button → f15 → XF86Launch6
  KEYBOARD_KEY_c1016=record          # Record button
- KEYBOARD_KEY_c1031=connect         # Pickup phone button → connect → XF86Go
- KEYBOARD_KEY_c1032=cancel          # Hangup phone button → cancel → Cancel
  KEYBOARD_KEY_c1041=wordprocessor   # Word icon (Fn + F1)
  KEYBOARD_KEY_c1042=spreadsheet     # Excel icon (Fn + F2)
  KEYBOARD_KEY_c1043=calendar        # Calendar icon (Fn + F3)