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

Commit b8c9c642 authored by Vojtech Pavlik's avatar Vojtech Pavlik Committed by Dmitry Torokhov
Browse files

Inpur: recognize and ignore Logitech vendor usages in HID



These get in our way with MX mice.

Signed-off-by: default avatarVojtech Pavlik <vojtech@suse.cz>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 7545c24c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;

+1 −0
Original line number Diff line number Diff line
@@ -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