diff options
author | Éloi Rivard <azmeuk@gmail.com> | 2013-03-13 14:15:36 +0100 |
---|---|---|
committer | Éloi Rivard <azmeuk@gmail.com> | 2013-04-04 11:17:37 +0200 |
commit | 8d8191488ba8f2d8448f3ae46be51b444f2bf779 (patch) | |
tree | b9b93495c3b8e4c8effc4aecee6aba22f97cb5ba | |
parent | 6530ca0ac9f02daf28dcb9e6dc953d9ad9b520b9 (diff) |
* Minor fix.
-rw-r--r-- | tests/glfw/glfwsample.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/glfw/glfwsample.c b/tests/glfw/glfwsample.c index 38b37cea..771537c5 100644 --- a/tests/glfw/glfwsample.c +++ b/tests/glfw/glfwsample.c @@ -157,9 +157,9 @@ void Draw(void) void OnCharPressed( int character, int action ){ if(action == GLFW_PRESS) - printf("'%c' is pressed\n", character); + printf("'%c' (%i) char is pressed\n", character, character); if(action == GLFW_RELEASE) - printf("'%c' is released\n", character); + printf("'%c' (%i) char is released\n", character, character); } char* GetKeyName(int key){ @@ -294,9 +294,9 @@ void OnKeyPressed( int key, int action ){ if(key_name == 0) return; if(action == GLFW_PRESS) - printf("%s (%i) is pressed\n", key_name, key); + printf("%s (%i) key is pressed\n", key_name, key); if(action == GLFW_RELEASE) - printf("%s (%i) is released\n", key_name, key); + printf("%s (%i) key is released\n", key_name, key); if(action == GLFW_RELEASE && key == GLFW_KEY_ENTER) PullInfo(); } |