Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit daa0bc90 authored by Chris Clayton's avatar Chris Clayton Committed by Jiri Kosina
Browse files

HID: enable dead keys on a belkin wireless keyboard



Belkin Wireless keyboard, model number F8E849KYBD, USB ID 1020:0006,
FCCID: K7SF8E849KYBD emits usages 0x03a-0x03c from Consumer usage page.
As of HUT v1.12, these are marked as reserved. If any conflict arises
later, the mapping could be made conditional on VID/PID.

Signed-off-by: default avatarChris Clayton <chris2553@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 38d4b89e
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -431,6 +431,15 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel
				case 0x000: goto ignore;
				case 0x034: map_key_clear(KEY_SLEEP);		break;
				case 0x036: map_key_clear(BTN_MISC);		break;
				/*
				 * The next three are reported by Belkin wireless
				 * keyboard (1020:0006). These values are "reserved"
				 * in HUT 1.12.
				 */
				case 0x03a: map_key_clear(KEY_SOUND);           break;
				case 0x03b: map_key_clear(KEY_CAMERA);          break;
				case 0x03c: map_key_clear(KEY_DOCUMENTS);       break;

				case 0x040: map_key_clear(KEY_MENU);		break;
				case 0x045: map_key_clear(KEY_RADIO);		break;