HID: quirks: Add HID_QUIRK_IGNORE_MOUSE quirk
authorAditya Garg <gargaditya08@live.com>
Thu, 10 Apr 2025 07:29:27 +0000 (12:59 +0530)
committerJiri Kosina <jkosina@suse.com>
Thu, 24 Apr 2025 09:32:51 +0000 (11:32 +0200)
commita058002358b7aaf14674b2a0daa5194bfa5720a1
tree6f2524092b2bad90b31ce2dfa019febff6bcc053
parentfe7f7ac8e0c708446ff017453add769ffc15deed
HID: quirks: Add HID_QUIRK_IGNORE_MOUSE quirk

Some USB HID mice have drivers both in HID as well as a separate USB
driver. The already existing hid_mouse_ignore_list in hid-quirks manages
this, but is not yet configurable by usbhid.quirks, unlike all others like
hid_ignore_list. Thus in some HID devices, where the vendor provides USB
drivers only for the mouse and lets keyboard handled by the generic hid
drivers, presence of such a quirk prevents the user from compiling hid core
again to add the device to the table.

Signed-off-by: Aditya Garg <gargaditya08@live.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-quirks.c
include/linux/hid.h