From 855b386e465aa3892320fc524480fa92c07fbc65 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 15 Sep 2010 16:26:51 +0200 Subject: [PATCH] Removed remnants of Unicode key repeat control. --- src/internal.h | 1 - src/window.c | 3 --- 2 files changed, 4 deletions(-) diff --git a/src/internal.h b/src/internal.h index cb19d5e2..3d71baac 100644 --- a/src/internal.h +++ b/src/internal.h @@ -172,7 +172,6 @@ typedef struct _GLFWwindow int wheelPos; char mouseButton[GLFW_MOUSE_BUTTON_LAST + 1]; char key[GLFW_KEY_LAST + 1]; - int lastChar; // Framebuffer attributes int redBits; diff --git a/src/window.c b/src/window.c index 66f55865..a908ec01 100644 --- a/src/window.c +++ b/src/window.c @@ -121,9 +121,6 @@ void _glfwClearInput(_GLFWwindow* window) for (i = 0; i <= GLFW_KEY_LAST; i++) window->key[i] = GLFW_RELEASE; - // Clear last character - window->lastChar = 0; - // Release all mouse buttons for (i = 0; i <= GLFW_MOUSE_BUTTON_LAST; i++) window->mouseButton[i] = GLFW_RELEASE;