4 #include <glfw/glfw3.h>
13 static void Initialize();
18 static bool KeyDown[349];
20 static bool ButtonDown[GLFW_MOUSE_BUTTON_LAST];
21 static int ButtonPressed[GLFW_MOUSE_BUTTON_LAST];
22 static int ButtonReleased[GLFW_MOUSE_BUTTON_LAST];
25 static int KeyPressed[349];
26 static int KeyReleased[349];
28 static void MouseButtonCallback(GLFWwindow* window,
int button,
int action,
int mods);
29 static void KeyCallback(GLFWwindow* window,
int key,
int scancode,
int action,
int mods);
35 static bool IsMouseDown(
int button);
39 static bool IsMousePressed(
int button);
43 static bool IsMouseReleased(
int button);
48 static bool IsKeyDown(
int key);
52 static bool IsKeyPressed(
int key);
56 static bool IsKeyReleased(
int key);