#include <SDL_events.h>
Data Fields | |
Uint8 | type |
SDL_WindowEvent | window |
SDL_KeyboardEvent | key |
SDL_TextEditingEvent | edit |
SDL_TextInputEvent | text |
SDL_MouseMotionEvent | motion |
SDL_MouseButtonEvent | button |
SDL_MouseWheelEvent | wheel |
SDL_JoyAxisEvent | jaxis |
SDL_JoyBallEvent | jball |
SDL_JoyHatEvent | jhat |
SDL_JoyButtonEvent | jbutton |
SDL_QuitEvent | quit |
SDL_UserEvent | user |
SDL_SysWMEvent | syswm |
SDL_ProximityEvent | proximity |
SDL_ActiveEvent | active |
SDL_ResizeEvent | resize |
Mouse button event data
Text editing event data
Joystick axis event data
Joystick ball event data
Joystick button event data
Joystick hat event data
Keyboard event data
Mouse motion event data
SDL_ProximityEvent proximity |
Proximity In or Out event
Quit request event data
System dependent window event data
Text input event data
Custom event data
Mouse wheel event data
Window event data