Browse Source

Merge bc49bfe68e into ac1cda6334

pull/162/merge
Elliot Saba 10 years ago committed by GitHub
parent
commit
89ee559855
  1. 6
      src/Magnum/Platform/GlfwApplication.cpp

6
src/Magnum/Platform/GlfwApplication.cpp

@ -168,7 +168,11 @@ void GlfwApplication::staticKeyEvent(GLFWwindow*, int key, int, int action, int
_instance->keyPressEvent(e); _instance->keyPressEvent(e);
} else if(action == GLFW_RELEASE) { } else if(action == GLFW_RELEASE) {
_instance->keyReleaseEvent(e); _instance->keyReleaseEvent(e);
} /* we don't handle GLFW_REPEAT */ } else if(action == GLFW_REPEAT) {
/* TODO: Give the user a cross-platform method of differentiating
between a key "press" and a key "repeat". */
_instance->keyPressEvent(e);
}
} }
void GlfwApplication::staticMouseMoveEvent(GLFWwindow* window, double x, double y) { void GlfwApplication::staticMouseMoveEvent(GLFWwindow* window, double x, double y) {

Loading…
Cancel
Save