aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorÉloi Rivard <azmeuk@gmail.com>2013-03-13 14:15:36 +0100
committerÉloi Rivard <azmeuk@gmail.com>2013-04-04 11:17:36 +0200
commit37045ce20ef8f3767337d35e368645f13f8727e0 (patch)
treeeba25bebf3e6e8bc1a78a1dadb679a94bff37708 /tests
parente0883e3d8663362a3fa5756d0f4161fb2b00f277 (diff)
* Minor fix.
Diffstat (limited to 'tests')
-rw-r--r--tests/glfw/glfwsample.c8
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();
}