- asText
String asText()
Returns a String representation of the event.
- getActionStrength
double getActionStrength(StringArg0 action)
- getDevice
long getDevice()
- isAction
bool isAction(StringArg0 action)
Returns true if this input event matches a pre-defined action of any type.
- isActionPressed
bool isActionPressed(StringArg0 action)
Returns true if the given action is being pressed (and is not an echo event for KEY events). Not relevant for the event types MOUSE_MOTION, SCREEN_DRAG or NONE.
- isActionReleased
bool isActionReleased(StringArg0 action)
Returns true if the given action is released (i.e. not pressed). Not relevant for the event types MOUSE_MOTION, SCREEN_DRAG or NONE.
- isActionType
bool isActionType()
Returns true if this input event's type is one of the InputEvent constants.
- isEcho
bool isEcho()
Returns true if this input event is an echo event (only for events of type KEY).
- isPressed
bool isPressed()
Returns true if this input event is pressed. Not relevant for the event types MOUSE_MOTION, SCREEN_DRAG or NONE.
- opAssign
InputEvent opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(InputEvent other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
- setDevice
void setDevice(long device)
- shortcutMatch
bool shortcutMatch(InputEvent event)
- xformedBy
Ref!InputEvent xformedBy(Transform2D xform, Vector2 local_ofs)
Generic input event
Base class of all sort of input event. See Node._input.