Skip to content

Commit 0690535

Browse files
Leo P WhiteJiri Kosina
authored andcommitted
HID: add mapping for "AL Network Chat" usage
Adding a mapping for the 'AL Network Chat' usage from the 'Consumer' usage page (USB HID Usage Tables v1.11). This usage is used by some keyboards for a multimedia key. Signed-off-by: Leo P White <lpw25@cam.ac.uk> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent c2c3489 commit 0690535

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/hid/hid-input.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,7 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel
405405
case 0x192: map_key_clear(KEY_CALC); break;
406406
case 0x194: map_key_clear(KEY_FILE); break;
407407
case 0x196: map_key_clear(KEY_WWW); break;
408+
case 0x199: map_key_clear(KEY_CHAT); break;
408409
case 0x19c: map_key_clear(KEY_LOGOFF); break;
409410
case 0x19e: map_key_clear(KEY_COFFEE); break;
410411
case 0x1a6: map_key_clear(KEY_HELP); break;

0 commit comments

Comments
 (0)