#pragma once
#include "deps.h"
#include "InputManager.h"
#include <map>
namespace charcoal
{
class GLFWInputManager : public InputManager
public:
~GLFWInputManager();
void init(GLFWwindow* p_window);
static void key_callback(GLFWwindow* p_window, int key, int scancode, int action, int mods);
private:
GLFWwindow* m_p_window = nullptr;
static std::map<GLFWwindow*, GLFWInputManager*> s_glfw_windows;
};
}