mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 03:52:01 +00:00
Removed remnants of Unicode character actions.
This commit is contained in:
parent
d7670cf906
commit
64f180a324
@ -181,13 +181,11 @@ void _glfwInputKey(_GLFWwindow* window, int key, int action)
|
||||
|
||||
void _glfwInputChar(_GLFWwindow* window, int character)
|
||||
{
|
||||
int keyrepeat = 0;
|
||||
|
||||
// Valid Unicode (ISO 10646) character?
|
||||
if (!((character >= 32 && character <= 126) || character >= 160))
|
||||
return;
|
||||
|
||||
if (window->charCallback && (window->keyRepeat || !keyrepeat))
|
||||
if (window->charCallback)
|
||||
window->charCallback(window, character);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user