On Wed, Jan 06, 2010 at 11:38:11AM -0800, [email protected] wrote:
> jay
> 2010-01-06 11:38:11 -0800 (Wed, 06 Jan 2010)
> 281
> gfx_sdl, updated interfaces. Working input mechanism, though lacks support 
> for mouse wheel and joystick support. I don't know if sdl supports mouse 
> wheel. It supports joystick--I just didn't implement it yet or expose the 
> methods.

SDL sends mouse wheel events as button presses.

button 1 = left click
button 2 = middle click or wheel click
button 3 = right click
button 4 = wheel up
button 5 = wheel down
button 6 = horizontal wheel left (I think)
button 7 = horizontal wheel right (I think)
button 8 = extra button (works for my thumb button)
button 9+ probably work too, if you have one of those ostentatous 
Logitech 14-button mice :)

---
James
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to