multiple mouse buttons
Is there any way to detect mouse events for more than 3 mouse buttons? I know that there's 1-3 for left, middle, and right, then scroll up and down for 4 and 5, but I think I saw somewhere that (at least some implementations) use following numbers as other mouse buttons. Is this true, or widespread? I thought of using SDL_GetMouseState, but in a series of events, if it was a very fast click, unless it sets the state with each polled event for SDL_PollEvent, it wouldn't register both the down and up. (please tell me if it does wait for each SDL_PollEvent to get the state, because that would be very useful
)
)
As pointed out in the previous post, HID is the way to go, at least until Leopard arrives
Yeah HID on mac definitly, this code works on window and linux as well just so you know.
Sir, e^iπ + 1 = 0, hence God exists; reply!
Cross-platform is certainly the point. It looks like I'll be using manymouse, thanks!
DoG Wrote:As pointed out in the previous post, HID is the way to go, at least until Leopard arrives
Mind expanding on that statement.
Scott Lembcke - Howling Moon Software
Author of Chipmunk Physics - A fast and simple rigid body physics library in C.

