Input

namespace input

Functions

void setCursorVisible(bool visible)

Sets the mouse cursor visibility

Parameters
  • visible: true for visible. false for hidden.

const char *getTitle()
void setTitle(const char *title)
void setSize(int width, int height)

Variables

bool keys[GLFW_KEY_LAST + 1]
bool mouseButtons[GLFW_MOUSE_BUTTON_LAST + 1]
double scrollX
double scrollY
double mouseX
double mouseY
int width
int height
const char *title
GLFWwindow *window
Application *app