InputEvent

Inherits: Resource < RefCounted < Object

Inherited By: InputEventAction, InputEventFromWindow, InputEventJoypadButton, InputEventJoypadMotion, InputEventMIDI, InputEventShortcut

There is currently no description for this class. Please help us by contributing one!

Properties

int

device

0

Methods

bool

accumulate ( InputEvent with_event )

String

as_text ( ) const

float

get_action_strength ( StringName action, bool exact_match=false ) const

bool

is_action ( StringName action, bool exact_match=false ) const

bool

is_action_pressed ( StringName action, bool allow_echo=false, bool exact_match=false ) const

bool

is_action_released ( StringName action, bool exact_match=false ) const

bool

is_action_type ( ) const

bool

is_canceled ( ) const

bool

is_echo ( ) const

bool

is_match ( InputEvent event, bool exact_match=true ) const

bool

is_pressed ( ) const

bool

is_released ( ) const

InputEvent

xformed_by ( Transform2D xform, Vector2 local_ofs=Vector2(0, 0) ) const


Constants

DEVICE_ID_EMULATION = -1

There is currently no description for this constant. Please help us by contributing one!


Property Descriptions

int device = 0

  • void set_device ( int value )

  • int get_device ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

bool accumulate ( InputEvent with_event )

There is currently no description for this method. Please help us by contributing one!


String as_text ( ) const

There is currently no description for this method. Please help us by contributing one!


float get_action_strength ( StringName action, bool exact_match=false ) const

There is currently no description for this method. Please help us by contributing one!


bool is_action ( StringName action, bool exact_match=false ) const

There is currently no description for this method. Please help us by contributing one!


bool is_action_pressed ( StringName action, bool allow_echo=false, bool exact_match=false ) const

There is currently no description for this method. Please help us by contributing one!


bool is_action_released ( StringName action, bool exact_match=false ) const

There is currently no description for this method. Please help us by contributing one!


bool is_action_type ( ) const

There is currently no description for this method. Please help us by contributing one!


bool is_canceled ( ) const

There is currently no description for this method. Please help us by contributing one!


bool is_echo ( ) const

There is currently no description for this method. Please help us by contributing one!


bool is_match ( InputEvent event, bool exact_match=true ) const

There is currently no description for this method. Please help us by contributing one!


bool is_pressed ( ) const

There is currently no description for this method. Please help us by contributing one!


bool is_released ( ) const

There is currently no description for this method. Please help us by contributing one!


InputEvent xformed_by ( Transform2D xform, Vector2 local_ofs=Vector2(0, 0) ) const

There is currently no description for this method. Please help us by contributing one!