mirror of
https://github.com/glfw/glfw.git
synced 2024-11-11 04:53:50 +00:00
Add support for receiving control characters
This commit is contained in:
parent
3eaf1255b2
commit
0b0a45e077
@ -314,7 +314,7 @@ void _glfwInputChar(_GLFWwindow* window, uint32_t codepoint, int mods, GLFWbool
|
||||
assert(mods == (mods & GLFW_MOD_MASK));
|
||||
assert(plain == GLFW_TRUE || plain == GLFW_FALSE);
|
||||
|
||||
if (codepoint < 32 || (codepoint > 126 && codepoint < 160))
|
||||
if (codepoint > 126 && codepoint < 160)
|
||||
return;
|
||||
|
||||
if (!window->lockKeyMods)
|
||||
|
Loading…
Reference in New Issue
Block a user