Skip to content

Commit 831f70a

Browse files
a-chaudhariJiri Kosina
authored andcommitted
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]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 2a5e76b commit 831f70a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/hid/hid-asus.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,10 @@ static int asus_input_mapping(struct hid_device *hdev,
974974
case 0xc4: asus_map_key_clear(KEY_KBDILLUMUP); break;
975975
case 0xc5: asus_map_key_clear(KEY_KBDILLUMDOWN); break;
976976
case 0xc7: asus_map_key_clear(KEY_KBDILLUMTOGGLE); break;
977+
case 0x4e: asus_map_key_clear(KEY_FN_ESC); break;
978+
case 0x7e: asus_map_key_clear(KEY_EMOJI_PICKER); break;
977979

980+
case 0x8b: asus_map_key_clear(KEY_PROG1); break; /* ProArt Creator Hub key */
978981
case 0x6b: asus_map_key_clear(KEY_F21); break; /* ASUS touchpad toggle */
979982
case 0x38: asus_map_key_clear(KEY_PROG1); break; /* ROG key */
980983
case 0xba: asus_map_key_clear(KEY_PROG2); break; /* Fn+C ASUS Splendid */

0 commit comments

Comments
 (0)