Hi!
I have a GUI with a TextEdit and Virtual Keyboard, and I want, for example, change of screen when I press the "Intro" key.
Something, like this:
while (TRUE) {
// Get an event
pe = geventEventWait(&gl, TIME_INFINITE);
switch(pe->type) {
case GEVENT_GWIN_BUTTON:
...
break;
case GEVENT_GWIN_KEYBOARD:
if(key == ""KEY_INTRO") {
guiShowPage(NEXT_PAGE);
}
break;
}
}
How I can get and compare the key event?
Thanks!!