13#include <unordered_map>
55 static GLFWwindow* mWindow;
57 static std::unordered_map<int, KeyState> mKeys;
59 static std::unordered_map<int, KeyState> mPreviousKeys;
61 static std::unordered_map<int, KeyState> mMouseButtons;
63 static std::unordered_map<int, KeyState> mPreviousMouseButtons;
65 static float mMouseScrollValue;
74 static void MouseScrollCallback(GLFWwindow* window,
double xoffset,
double yoffset);
87 static void Init(GLFWwindow* window);
93 static void Update(
float deltaTime);