Press arrows or spacebar, move mouse and press mouse buttons...
Look at the JavaScript code to see how we deal with these events in the game framework