question: public void keyPressed ( final int keyCode ) { if ( impl . getCurrentForm ( ) == null ) { return ; } addSingleArgumentEvent ( KEY_PRESSED , keyCode ) ; lastInteractionWasKeypad = lastInteractionWasKeypad || ( keyCode != MenuBar . leftSK && keyCode != MenuBar . clearSK && keyCode != MenuBar . backSK ) ; keyRepeatCharged = ( keyCode >= 0 || getGameAction ( keyCode ) > 0 ) || keyCode == impl . getClearKeyCode ( ) ; longPressCharged = keyRepeatCharged ; longKeyPressTime = System . currentTimeMillis ( ) ; keyRepeatValue = keyCode ; nextKeyRepeatEvent = System . currentTimeMillis ( ) + keyRepeatInitialIntervalTime ; previousKeyPressed = lastKeyPressed ; lastKeyPressed = keyCode ; }
target:  Pushes a key press event with the given keycode into Codename One