Events
SDL can inform your program of the following events: Keyboard input Mouse input Application visibility changes (ie, mouse focus, etc.) User-requested quit Joystick input (in the works) SDL's event queue is thread-safe.
SDL's event queue is thread-safe.