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 | /* hidinput data */ | 492 | /* hidinput data */ |
| 493 | struct hid_input *hidinput; /* associated input structure */ | 493 | struct hid_input *hidinput; /* associated input structure */ |
| 494 | __u16 dpad; /* dpad input code */ | 494 | __u16 dpad; /* dpad input code */ |
| 495 | unsigned int slot_idx; /* slot index in a report */ | ||
| 495 | }; | 496 | }; |
| 496 | 497 | ||
| 497 | #define HID_MAX_FIELDS 256 | 498 | #define HID_MAX_FIELDS 256 |