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 4567

Summary: Android mouse wheel events broken / not generated
Product: SDL Reporter: Ellie <etc0de>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: RESOLVED DUPLICATE QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.9   
Hardware: ARM   
OS: Android (All)   

Description Ellie 2019-03-28 10:51:30 UTC
I tested a hardware mouse via usb-a to usb-c adapter on Android, and the mousewheel doesn't cause any sort of SDL events! I checked what SDL_PollEvent() does when mouse wheel scrolling, and it simply doesn't return anything when that happens.

Native android apps support mouse wheel scrolling just fine, so there has to be away to get & generate these events on Android. Since not being able to scroll can be extremely annoying, could this possibly be fixed?

PS: tested on Android 7.1.1 in case this depends on the Android version
Comment 1 Ellie 2019-03-28 11:09:00 UTC
Ok it seems after some more examination the actual problem is that I only get SDL_TOUCH_MOUSEID events (as if it was a finger) for the actual hardware mouse which doesn't make any sense - at least not for a properly written mouse-aware app.

I am therefore closing this in favor of #4568 which asks for a way to disable this "pretend hardware mouse is a finger" behavior to get proper unfiltered hardware mouse events.

*** This bug has been marked as a duplicate of bug 4568 ***