mirror of
https://github.com/glfw/glfw.git
synced 2024-11-23 02:25:10 +00:00
Removed remnants of Unicode key repeat control.
This commit is contained in:
parent
64f180a324
commit
855b386e46
@ -172,7 +172,6 @@ typedef struct _GLFWwindow
|
|||||||
int wheelPos;
|
int wheelPos;
|
||||||
char mouseButton[GLFW_MOUSE_BUTTON_LAST + 1];
|
char mouseButton[GLFW_MOUSE_BUTTON_LAST + 1];
|
||||||
char key[GLFW_KEY_LAST + 1];
|
char key[GLFW_KEY_LAST + 1];
|
||||||
int lastChar;
|
|
||||||
|
|
||||||
// Framebuffer attributes
|
// Framebuffer attributes
|
||||||
int redBits;
|
int redBits;
|
||||||
|
@ -121,9 +121,6 @@ void _glfwClearInput(_GLFWwindow* window)
|
|||||||
for (i = 0; i <= GLFW_KEY_LAST; i++)
|
for (i = 0; i <= GLFW_KEY_LAST; i++)
|
||||||
window->key[i] = GLFW_RELEASE;
|
window->key[i] = GLFW_RELEASE;
|
||||||
|
|
||||||
// Clear last character
|
|
||||||
window->lastChar = 0;
|
|
||||||
|
|
||||||
// Release all mouse buttons
|
// Release all mouse buttons
|
||||||
for (i = 0; i <= GLFW_MOUSE_BUTTON_LAST; i++)
|
for (i = 0; i <= GLFW_MOUSE_BUTTON_LAST; i++)
|
||||||
window->mouseButton[i] = GLFW_RELEASE;
|
window->mouseButton[i] = GLFW_RELEASE;
|
||||||
|
Loading…
Reference in New Issue
Block a user