Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#8 support mouse buttons over 3

open
nobody
None
5
2009-06-25
2009-06-25
No

cl-sdl only returns events for mouse buttons 1-3.
I used the following hack to return the actual button state instead of
intercepting and filtering it, so I can support the scroll wheel in my program (buttons 4-5).
Please implement more buttons cleanly in the wrapper so I do not have to resort to modifying cl-sdl.
Perhaps return the button state as I have done, and provide macros to logior to determine individual button states?

Discussion

  • This patch changes the mouse button event interface to support unlimited mouse buttons

     
    Attachments