mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
HID: input: accommodate priorities for slotted devices
Multitouch devices in hybrid mode are reporting multiple times the same collection. We should accommodate for this in our handling of priorities by defining the slots they belong to. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Reviewed-by: Ping Cheng <ping.cheng@wacom.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
committed by
Jiri Kosina
parent
87562fcd13
commit
5c20000a47
@@ -492,6 +492,7 @@ struct hid_field {
|
||||
/* hidinput data */
|
||||
struct hid_input *hidinput; /* associated input structure */
|
||||
__u16 dpad; /* dpad input code */
|
||||
unsigned int slot_idx; /* slot index in a report */
|
||||
};
|
||||
|
||||
#define HID_MAX_FIELDS 256
|
||||
|
||||
Reference in New Issue
Block a user