system
1
o-san wrote on Thursday, October 13, 2011:
I’m having trouble to detect the escape key using a callback:
glfwSetKeyCallback(keyCallback);
void GLFWCALL keyCallback(int key, int action) …
The callback is never triggered when escape is pressed. It detects other keys
such as the arrow keys and space. Any help appreciated.
system
2
o-san wrote on Thursday, October 13, 2011:
Well, I found out that if I press shift+escape the callback is triggered, very
strange. I need to check my program on another computer…
system
3
elmindreda wrote on Friday, October 14, 2011:
What version of which OS is this on? What version of GLFW are you using?
system
4
o-san wrote on Friday, October 14, 2011:
I’m using windows7 and glfw2.7… Strangest thing. Now it works, haven’t done a
thing. :-/