KeyDown
class KeyDown(val key: KeyCode, val isRepeat: Boolean, val scancode: Scancode) : PlatformEvent(source)
Reports that a key was pressed: key is its label under the current layout and scancode its physical position. isRepeat is true when the key is being held down and the event comes from key repeat rather than a new press.