The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Scroll left and right register as button press not mouse whe
Stuart Axon
Guest

Hi,
Somehow I missed the message to try 2.0.4 I've just tested it and Kivy seems to work with it, thanks Smile


S++




On Thursday, October 29, 2015 7:13 PM, Stuart Axon wrote:

Quote:


Hi,
I've been looking at a kivy bug, it seems that SDL_PollEvent is returning the type as SDL_MOUSEBUTTONDOWN / SDL_MOUSEBUTTONUP if you scroll left and right on a trackpad on linux.




xev - tells me these are mouse buttons 5 and 6.






Scrolling up and down is registered as SDL_MOUSEWHEEL as expected.




OS - Ubuntu 15.04 64 bit.


S++