[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] pygame.event.get() data

How would one read the data that comes from pygame.event.get() ?
I want to read the data from a joystick directly from the event, without having to use joystick.getaxis().
The event data looks like a dictionary, but I'm not sure how to access it.

<Event(7-JoyAxisMotion {'joy': 0, 'value': -0.0078432569353312793, 'axis': 0})>

Mike D.