提交 b8c9c642 编写于 作者: V Vojtech Pavlik 提交者: Dmitry Torokhov

Inpur: recognize and ignore Logitech vendor usages in HID

These get in our way with MX mice.
Signed-off-by: NVojtech Pavlik <vojtech@suse.cz>
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 7545c24c
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册