Logo


search API (or start typing anywhere)


KeyEvent

mint.types.KeyEvent

A mint specific key event


typedef


   

Members


timestamp
timestamp : Float
The time in seconds when this key event occurred, useful for deltas
state
state : mint.types.InteractState
The state this event is in
mod
mod : mint.types.ModState
The modifier state
keycode
keycode : Int
The raw keycode of the event
key
key : mint.types.KeyCode
The typed mint key for the event
bubble
bubble : Bool
Whether or not the event should bubble further. set to false to stop propagation