#pragma once #include #include "presstypes.hpp" namespace hibis { class InputManager final { public: InputManager(); ~InputManager(); bool isKeyPressed(int scancode); bool isKeyJustPressed(int scancode); bool isKeyJustReleased(int scancode); void setKeyPressState(int scancode, PressTypes type); private: std::map mKeyScancodes; }; }