So, I installed the windows toolchain
and I managed to compile the examples here
I am trying to make some project where I need proper button and timer. My problem is, nothing seems to work so far (I even have a nframe++ that automatically exits after 480 frames, 8 secs, because I can't even exit on keypress).
First there is an esRegisterKeyFunc(&esContext, Key) function, which takes your callback for keyboard controll (input for gcw0 buttons too? Doesn't seem so). There is an example that also uses it, but doesn't seem to respond either on gcw0. I tried to do something, anyting when pressed, even get key number and display it on screen (with my own text draw routine on OpenGL ES). Nothing absolutely!
Then my second thought is to include SDL and use the key events there. It doesn't seem to respond to anything. Even the event loop doesn't seem to. I am not sure if it's correct to init SDL while EGL has been init.
I also tried some conio.h and conio.cpp equivalent for linux, that replaces kbhit. Absolutely nothing! I say to my code to draw something or exit if any key is pressed, nothing in all three cases.
What is the proper way to have input with those EGL context examples? In GCW0. It's breaking my nerves, any easy way or example code to solve this?