Browse Source

Delete keyCallback debugging.

tags/v1.1.0
Andrew Belt 5 years ago
parent
commit
c07e7edb8a
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      src/window.cpp

+ 0
- 2
src/window.cpp View File

@@ -164,8 +164,6 @@ static void charCallback(GLFWwindow *win, unsigned int codepoint) {
}

static void keyCallback(GLFWwindow *win, int key, int scancode, int action, int mods) {
DEBUG("key %d scancode %d name '%s' Z scancode %d Q scancode %d 1 scancode %d", key, scancode, glfwGetKeyName(key, scancode), glfwGetKeyScancode(GLFW_KEY_Z), glfwGetKeyScancode(GLFW_KEY_Q), glfwGetKeyScancode(GLFW_KEY_1));

Window *window = (Window*) glfwGetWindowUserPointer(win);
if (APP->event->handleKey(window->mousePos, key, scancode, action, mods))
return;


Loading…
Cancel
Save