What follows are the event handlers. These are set automatically
by the eventLoop function, but are still public so you can change
them later. wasPressed == true means key down. false == key up.
Handles a low-level keyboard event. Settable through setEventHandlers.
What follows are the event handlers. These are set automatically by the eventLoop function, but are still public so you can change them later. wasPressed == true means key down. false == key up. Handles a low-level keyboard event. Settable through setEventHandlers.