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 - Getting mouse ID == 0 from touch events
Summary: Getting mouse ID == 0 from touch events
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.10
Hardware: x86_64 Windows 10
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-24 15:10 UTC by Marius Elvert
Modified: 2020-01-24 15:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.