diff options
| author | Benjamin Tissoires <[email protected]> | 2022-02-03 15:32:25 +0100 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2022-03-01 15:46:03 +0100 |
| commit | 5c20000a4756f57c824e3045c978ef19136a676d (patch) | |
| tree | 82e3352814eaf79d8ea39c1691ebad77b6e17c26 /include | |
| parent | 87562fcd134214a68e58d0714b820f2f2da75b1f (diff) | |
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 <[email protected]>
Reviewed-by: Ping Cheng <[email protected]>
Acked-by: Peter Hutterer <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/hid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index feb8df61168f..4363a63b9775 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h @@ -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 |