View source
enum abstract KeyCodePressEventState(Int)
package koui.events
from Int to Int
import koui.events.KeyEvent
Variables
inlineread onlyKeyDown:KeyCodePressEventState = flag(0)
Fired on the first frame a key is pressed down.
inlineread onlyKeyHold:KeyCodePressEventState = flag(1)
Fired on all consecutive time steps of the key press interval.