Input: HID - add more consumer usages

Extend mapping of the consumer usage page in hid-input.c to handle
more cases appearing on new USB keyboards.

Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
Vojtech Pavlik
2005-09-05 00:08:08 -05:00
committed by Dmitry Torokhov
parent 0aebfdac04
commit 8a409b0118
4 changed files with 36 additions and 9 deletions

View File

@@ -184,6 +184,7 @@ struct hid_item {
#define HID_UP_HPVENDOR 0xff7f0000
#define HID_UP_MSVENDOR 0xff000000
#define HID_UP_LOGIVENDOR 0x00ff0000
#define HID_UP_LOGIVENDOR2 0xffbc0000
#define HID_USAGE 0x0000ffff