Skip to contentSkip to conversation

hid-asus: add support for missing PX series fn keys

PATCH Applied Amit Chaudhari 2 participants 2 messages Aug 19, 2025 – Sep 12, 2025 HID

lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/hid/hid-asus.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/hid/hid-asus.c +3 -0
index 4b45e31f0bab..a30627bd32a5 100644
@@ -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
maintainer Applied
#1 lore raw
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