Handles mouse and keyboard input processing for the game. More...
Go to the source code of this file.
Classes | |
| struct | ButtonState |
| struct | MouseState |
| struct | KeyboardState |
| struct | InputEvent |
Typedefs | |
| typedef struct ButtonState | ButtonState |
| typedef struct MouseState | MouseState |
| typedef struct KeyboardState | KeyboardState |
| typedef struct InputEvent | InputEvent |
Functions | |
| void | Input_PreUpdate () |
| void | Input_Event_Handler (SDL_Event *event) |
| bool | Input_MouseIsOnRect (SDL_Rect rect) |
Variables | |
| const InputEvent *const | Input |
Handles mouse and keyboard input processing for the game.
This struct is used to keep track of the mouse and keyboard input. This is so that every other file can access the input data without using the SDL_Event parameter.
| typedef struct ButtonState ButtonState |
| typedef struct InputEvent InputEvent |
| typedef struct KeyboardState KeyboardState |
| typedef struct MouseState MouseState |
| void Input_Event_Handler | ( | SDL_Event * | event | ) |
| bool Input_MouseIsOnRect | ( | SDL_Rect | rect | ) |
| void Input_PreUpdate | ( | ) |
|
extern |