Scroll left and right register as button press not mouse wheel on ubuntu 64 bit

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++

Can you test the latest code from hg or 2.0.4RC2 from
http://libsdl.org/tmp/download-2.0.php ?
The problem should be fixed there.

(Yeah, it’s RC2, not “stable”, even though it says so, note the /tmp/ in
the URL, Sam, could you maybe write that on the page, people have been
confused about that.
Furthermore, GMail put Stuarts mail into SPAM because of some DMARC
settings Yahoo uses, see


http://wiki.list.org/DEV/DMARC has ways around that for mailman.)

Cheers,
DanielOn Thu, Oct 29, 2015 at 12:13 PM, Stuart Axon wrote:

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++


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hi,? ?Somehow I missed the message to try 2.0.4 I’ve just tested it and Kivy seems to work with it, thanks :)?S++On Thursday, October 29, 2015 7:13 PM, Stuart Axon <@Stuart_Axon> wrote:

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++