From f9c1f85f02288b3640003e23df7f9a2ea70ce58c Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 4 Jan 2015 15:53:27 +0100 Subject: [PATCH] Added cursor mode changes to peter test log. --- tests/peter.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/peter.c b/tests/peter.c index acb93052..723167ad 100644 --- a/tests/peter.c +++ b/tests/peter.c @@ -60,14 +60,17 @@ static void key_callback(GLFWwindow* window, int key, int scancode, int action, { case GLFW_KEY_D: glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_DISABLED); + printf("(( cursor is disabled ))\n"); break; case GLFW_KEY_H: glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_HIDDEN); + printf("(( cursor is hidden ))\n"); break; case GLFW_KEY_N: glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_NORMAL); + printf("(( cursor is normal ))\n"); break; case GLFW_KEY_R: