28 #ifndef BERSERK_GLFWINPUT_HPP 
   29 #define BERSERK_GLFWINPUT_HPP 
   36 #include <GLFW/glfw3.h> 
   60     void SubscribeWindow(GLFWwindow *window);
 
   63     void CheckConnectedJoysticks();
 
   68     static void DropCallback(GLFWwindow *window, 
int32 count, 
const char **paths);
 
   69     static void MousePositionCallback(GLFWwindow *window, 
double x, 
double y);
 
   70     static void MouseButtonsCallback(GLFWwindow *window, 
int32 button, 
int32 action, 
int32 mods);
 
   71     static void KeyboardKeysCallback(GLFWwindow *window, 
int32 key, 
int32 scancode, 
int32 action, 
int32 mods);
 
   72     static void KeyboardTextCallback(GLFWwindow *window, 
unsigned int codePoint);
 
   73     static void JoystickCallback(
int32 jid, 
int32 state);
 
   78     std::vector<Ref<GlfwJoystick>> mJoysticks;
 
#define BRK_NS_END
Definition: Config.hpp:48
 
#define BRK_API
Definition: Config.hpp:32
 
std::int32_t int32
Definition: Typedefs.hpp:43
 
Glfw window manager implementation.
Definition: GlfwWindowManager.hpp:51
 
Automates reference counting and behaves as shared smart pointer.
Definition: Ref.hpp:46
 
Definition: GLDevice.cpp:46