Chapter 3 – The SDL Event Loop | Intermediate Hacking
In SDL, input and responses are handled with events. Here’s the definition of SDL_Event typedef union{ Uint8 type; SDL_ActiveEvent active; SDL_KeyboardEvent key; SDL_MouseMotionEvent motion; SDL_MouseButtonEvent button; SDL_JoyAxisEvent jaxis ...
interhacker.wordpress.com |