pygame2.sdlext.fastevent – fast SDL event handling module

fast SDL event handling module

Module Functions

pygame2.sdlext.fastevent.get() → [:class:`Event`, :class:`Event`, ...]
Gets the events from the event queue.
pygame2.sdlext.fastevent.init() → None
Initializes the underlying fastevents system.
pygame2.sdlext.fastevent.TODO()
TODO
pygame2.sdlext.fastevent.TODO()
TODO
pygame2.sdlext.fastevent.TODO()
TODO
pygame2.sdlext.fastevent.TODO()
TODO

Event

class pygame2.sdlext.fastevent.Event(type, dict) → Event

Creates a new event to be used in the event messaging system.

This is exactly the same type as the pygame2.sdl.event.Event class. Take a look at its documentation for more details.

Attributes

Event.name
Gets the name of the Event.
Event.type
Gets type id of the Event.