mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 06:40:42 -07:00
26b3b64794
## Link to GitHub Issue or related Pull Request, if one exists Fixes #648 ## Description of change Deal with devices in hybrid packet mode that send garbage data in second packet when it's out of bounds (outside the number of contact points). MSDN says they're supposed to be (0, 0), but some devices don't follow the spec. ## Testing I don't have a device that reports garbage values but this should fix it in theory. I tested on my Dell touch monitor which is in hybrid mode & sends 5 touches at a time, but can split across two packets to send up to 10 touches. It sends (0, 0) for the remaining slots when there are 6-9 touch points, but confirmed that there was no regression.