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.
Showing the changes to include (1 of 2 files). Show all
Unified · Split
| @@ -492,6 +492,7 @@ struct hid_field { · 491 unmodified lines | ||
| 492 | 492 | /* hidinput data */ |
| 493 | 493 | struct hid_input *hidinput; /* associated input structure */ |
| 494 | 494 | __u16 dpad; /* dpad input code */ |
| 495 | + unsigned int slot_idx; /* slot index in a report */ | |
| 495 | 496 | }; |
| 496 | 497 | |
| 497 | 498 | #define HID_MAX_FIELDS 256 |