Removed Unicode character actions, updated events test.

This commit is contained in:
Camilla Berglund
2010-09-09 19:33:37 +02:00
parent 8fa7dddf16
commit 93ea341211
5 changed files with 11 additions and 40 deletions
+1 -4
View File
@@ -1027,7 +1027,7 @@ static GLboolean processSingleEvent(void)
_glfwInputKey(window, translateKey(event.xkey.keycode), GLFW_PRESS);
// Translate and report character input
_glfwInputChar(window, translateChar(&event.xkey), GLFW_PRESS);
_glfwInputChar(window, translateChar(&event.xkey));
break;
}
@@ -1065,9 +1065,6 @@ static GLboolean processSingleEvent(void)
// Translate and report key release
_glfwInputKey(window, translateKey(event.xkey.keycode), GLFW_RELEASE);
// Translate and report character input
_glfwInputChar(window, translateChar(&event.xkey), GLFW_RELEASE);
break;
}