keyDown

open override fun keyDown(key: Key): Boolean

Invoked when a Key is initially pressed down.

Return

true if event is handled; false otherwise

Parameters

key

the key that is pressed