[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] mouse scroll wheel
Is it possible to read up/down scrolling on a mouse wheel with Pygame?
I've tried the following:
if event.type == pyame.MOUSEBUTTONDOWN:
print pygame.mouse.get_pressed
and when the scroll wheel is moved up/down an event is generated and
this is printed:
(0, 0, 0)
So pygame is seeing the event, but can't return to me any useful info.
Or am I trying to read this using the wrong function?
Thanks,
Dave