20inline bool IsKeyPressed(
int key)
noexcept {
return glfwGetKey(glfwGetCurrentContext(), key) == GLFW_PRESS; }
30 return glfwGetMouseButton(glfwGetCurrentContext(), button) == GLFW_PRESS;
42 glfwGetCursorPos(glfwGetCurrentContext(), &x, &y);
69 return std::string(glfwGetJoystickName(jid));