search API (or start typing anywhere)
InputEvent
snow.types.InputEvent
defined in snow.types.Types
class
Members
gamepad
gamepad : snow.types.GamepadEvent
Populated if the event type is ie_gamepad, otherwise null
key
key : snow.types.KeyEvent
Populated if the event type is ie_key, otherwise null
mouse
mouse : snow.types.MouseEvent
Populated if the event type is ie_mouse, otherwise null
text
text : snow.types.TextEvent
Populated if the event type is ie_text, otherwise null
timestamp
timestamp : Float
The time in seconds that this event occured, useful for deltas. 0.0 if not specified
touch
touch : snow.types.TouchEvent
Populated if the event type is ie_touch, otherwise null
type
type : snow.types.InputEventType
The type of input event this was.
window_id
window_id : Int
The window id from which this event originated, if any. -1 if not specified
Methods