diff options
author | Rishit Bansal <rishitbansal0@gmail.com> | 2023-01-21 01:12:14 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-01-24 15:41:13 +0300 |
commit | 3ee5447b2048c8389ed899838a40b40180d50906 (patch) | |
tree | 41e39ab42fa2e52514fa4a96c21149ddd4f26b4b /tools/firewire | |
parent | 83bcf3e52e9cfc727df33f1055ef0618c91719d0 (diff) | |
download | linux-3ee5447b2048c8389ed899838a40b40180d50906.tar.xz |
platform/x86: hp-wmi: Handle Omen Key event
Add support to map the "HP Omen Key" to KEY_PROG2. Laptops in the HP
Omen Series open the HP Omen Command Center application on windows. But,
on linux it fails with the following message from the hp-wmi driver:
[ 5143.415714] hp_wmi: Unknown event_id - 29 - 0x21a5
Also adds support to map Fn+Esc to KEY_FN_ESC. This currently throws the
following message on the hp-wmi driver:
[ 6082.143785] hp_wmi: Unknown key code - 0x21a7
There is also a "Win-Lock" key on HP Omen Laptops which supports
Enabling and Disabling the Windows key, which trigger commands 0x21a4
and 0x121a4 respectively, but I wasn't able to find any KEY in input.h
to map this to.
Signed-off-by: Rishit Bansal <rishitbansal0@gmail.com>
Link: https://lore.kernel.org/r/20230120221214.24426-1-rishitbansal0@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/firewire')
0 files changed, 0 insertions, 0 deletions