Inpur: recognize and ignore Logitech vendor usages in HID
These get in our way with MX mice. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
7545c24c6a
commit
b8c9c642db
2 changed files with 2 additions and 0 deletions
|
@ -296,6 +296,7 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel
|
|||
break;
|
||||
|
||||
case HID_UP_MSVENDOR:
|
||||
case HID_UP_LOGIVENDOR:
|
||||
|
||||
goto ignore;
|
||||
|
||||
|
|
|
@ -182,6 +182,7 @@ struct hid_item {
|
|||
#define HID_UP_PID 0x000f0000
|
||||
#define HID_UP_HPVENDOR 0xff7f0000
|
||||
#define HID_UP_MSVENDOR 0xff000000
|
||||
#define HID_UP_LOGIVENDOR 0x00ff0000
|
||||
|
||||
#define HID_USAGE 0x0000ffff
|
||||
|
||||
|
|
Loading…
Reference in a new issue