I'm trying to learn how to do GUI stuff, but I haven't been able to master the onKeyDown and onKeyUp events... can someone gimme a working example or explain wtf a scancode and all that stuff is?
Quote:
|
Originally Posted by wiki
onKeyDown(keycode,keystring,scancode) - a key has been pressed while the control had the input focus (makeFirstResponder())
onKeyUp(keycode,keystring,scancode) - the key has been released
|
keycode is obvious, same as GS1 I assume, but wtf is the other stuff and how does it work?
to ApothiX -> outstanding edit, sir!