Mouse wheel in SDL???
Hi there!
A few minutes ago I checked the SDL help for hints on how to handle mouse wheel events...I was shocked to find NOTHING!
Even this on this forum and Google I couldn't find any information :-(
Is it just me beeing blind? Or is there no mw support?
Something like SDL_MouseWheelUp/SDL_MouseWheelDown would be great ;-)
Help! :-D
Well, I haven't tried it myself but I just looked in SDL_mouse.h for SDL 1.2.9, and it includes these lines:
So I guess you can handle wheel events just as you would any other mouse button events.
#define SDL_BUTTON_WHEELUP 4#define SDL_BUTTON_WHEELDOWN 5
So I guess you can handle wheel events just as you would any other mouse button events.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement