diff options
author | fwSmit <fw.smit01@gmail.com> | 2020-11-07 12:20:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-07 12:20:03 +0100 |
commit | 21d8f2533db7c46b80f74bd147869eb4f10195a6 (patch) | |
tree | 20ca0575fd58ebf1ab7babdc5af10a9414873d85 /src/libsystemd/sd-device/device-private.h | |
parent | resolved: fix non-initialized memory access (diff) | |
download | systemd-21d8f2533db7c46b80f74bd147869eb4f10195a6.tar.xz systemd-21d8f2533db7c46b80f74bd147869eb4f10195a6.zip |
hwdb: Add support for HP ZBook Studio G5 keyboard (#17525)
I tested this on my ZBook Studio G5. I'm not sure if this works for other ZBook studio machines.
I have two more notes on this PR:
- some keys send multiple scancodes. I matched only on one of them, because I couldn't figure out how to match
on all of them. This results in the others still being visible:
Event: time 1604520228.146226, -------------- SYN_REPORT ------------
Event: time 1604520228.151533, type 4 (EV_MSC), code 4 (MSC_SCAN), value db
Event: time 1604520228.151533, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), value 1
Event: time 1604520228.151533, -------------- SYN_REPORT ------------
Event: time 1604520228.259862, type 4 (EV_MSC), code 4 (MSC_SCAN), value 38
Event: time 1604520228.259862, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 0
Event: time 1604520228.259862, -------------- SYN_REPORT ------------
Event: time 1604520228.259944, type 4 (EV_MSC), code 4 (MSC_SCAN), value 66
Event: time 1604520228.259944, type 1 (EV_KEY), code 218 (KEY_CONNECT), value 0
Event: time 1604520228.259944, -------------- SYN_REPORT ------------
Event: time 1604520228.266513, type 4 (EV_MSC), code 4 (MSC_SCAN), value db
Event: time 1604520228.266513, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), value 0
Event: time 1604520228.266513, -------------- SYN_REPORT ------------
I wanted to set the display key to switchvideomode, but another key is already set to that, so I set it to displaytoggle instead.
Diffstat (limited to 'src/libsystemd/sd-device/device-private.h')
0 files changed, 0 insertions, 0 deletions