Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit decab28

Browse files
Faejwrdegoede
authored andcommitted
platform/x86: hp-wmi: add micmute to hp_wmi_keymap struct
Fixes micmute key of HP Envy X360 ey0xxx. Signed-off-by: Fae <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: [email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
1 parent 75e406b commit decab28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/platform/x86/hp/hp-wmi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ struct bios_rfkill2_state {
211211
static const struct key_entry hp_wmi_keymap[] = {
212212
{ KE_KEY, 0x02, { KEY_BRIGHTNESSUP } },
213213
{ KE_KEY, 0x03, { KEY_BRIGHTNESSDOWN } },
214+
{ KE_KEY, 0x270, { KEY_MICMUTE } },
214215
{ KE_KEY, 0x20e6, { KEY_PROG1 } },
215216
{ KE_KEY, 0x20e8, { KEY_MEDIA } },
216217
{ KE_KEY, 0x2142, { KEY_MEDIA } },

0 commit comments

Comments
 (0)