hid-asus: add support for missing PX series fn keys
PATCH 1/1 hid-asus: add support for missing PX series fn keys
Add support for missing hotkey keycodes affecting Asus PX13 and PX16 families so userspace can use them.
Signed-off-by Amit Chaudhari <[email protected]>
--- drivers/hid/hid-asus.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/hid/hid-asus.c +3 -0
@@ -974,7 +974,10 @@ static int asus_input_mapping(struct hid_device *hdev,case 0xc4 :asus_map_key_clear (KEY_KBDILLUMUP );break ;case 0xc5 :asus_map_key_clear (KEY_KBDILLUMDOWN );break ;case 0xc7 :asus_map_key_clear (KEY_KBDILLUMTOGGLE );break ; +case 0x4e :asus_map_key_clear (KEY_FN_ESC );break ; +case 0x7e :asus_map_key_clear (KEY_EMOJI_PICKER );break ; +case 0x8b :asus_map_key_clear (KEY_PROG1 );break ;/* ProArt Creator Hub key */ case 0x6b :asus_map_key_clear (KEY_F21 );break ;/* ASUS touchpad toggle */ case 0x38 :asus_map_key_clear (KEY_PROG1 );break ;/* ROG key */ case 0xba :asus_map_key_clear (KEY_PROG2 );break ;/* Fn+C ASUS Splendid */
Signature · 1 line
2.50.1
Quoted 2 lines · Amit Chaudhari
Add support for missing hotkey keycodes affecting Asus PX13 and PX16 families so userspace can use them.
Applied, thanks.
Next time, please try to follow the shortlog conventions of the subsystem, prefixing it with 'HID: '.
I've fixed that now manually before applying.
Signature · 2 lines
Jiri Kosina SUSE Labs