We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4959

Summary: Getting mouse ID == 0 from touch events
Product: SDL Reporter: Marius Elvert <marius.elvert>
Component: videoAssignee: Sam Lantinga <slouken>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.10   
Hardware: x86_64   
OS: Windows 10   

Description Marius Elvert 2020-01-24 15:10:04 UTC
This is on a microsoft surface 2017 on Windows 10.

When using the touch input, most of the mouse events I'm getting are marked with SDL_TOUCH_MOUSEID, but I also get a few with mouse ID equal to 0 regularly. This is for motion, button-down and button-up events.

It worked fine a while ago when I last tested it with SDL 2.0.9. I cannot say whether a windows update or the SDL update caused this.