|
Trace Engine
A Raycaster Engine in C
|
Macros | |
| #define | OPEN_DEBUG_WINDOW_BUTTON SDL_GetScancodeFromKey('|') |
Functions | |
| void | handle_input (void) |
| SDL_Scancode | get_scancode (const SDL_Event event) |
| #define OPEN_DEBUG_WINDOW_BUTTON SDL_GetScancodeFromKey('|') |
| SDL_Scancode get_scancode | ( | const SDL_Event | event | ) |
Given an SDL_Event, it returns the keyboard key scancode that matches that event
| event | SDL_Event, an event type from SDL |
| void handle_input | ( | void | ) |
Handle user input