8#define SDL_MAIN_HANDLED
11#include <unordered_map>
12#include "SDL3/SDL_mouse.h"
14#include "components/ErrorUtils.hpp"
55 void processEvent(
const SDL_Event& event,
float deltaTime);
60 void update(
float deltaTime);
65 bool isPressed =
false;
66 bool wasProcessedAsPressed =
false;
72 std::unordered_map<SDL_Scancode, KeyState> keyStates;
73 std::unordered_map<SDL_GamepadButton, KeyState> gamepadButtonStates;
74 std::unordered_map<SDL_GamepadAxis, float> gamepadAxisStates;
Main header for the Entity Component System (ECS) framework.
Central registry for managing entities and their components in the ECS system.
InputMode
Enum representing different input modes.