class

Godot::InputEvent

Inherits Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Class methods

wrap(ptr : Pointer(Void)) : Godot::InputEvent
Source

Instance methods

accumulate(with_event : InputEvent) : Bool
Source
as_text
Source
device

Property device getter

Source
device=(val : Int)

Property device setter

Source
get_action_strength(action : String, exact_match : Bool) : Float64
Source
get_device
Source
is_action(action : String, exact_match : Bool) : Bool
Source
is_action_pressed(action : String, allow_echo : Bool, exact_match : Bool) : Bool
Source
is_action_released(action : String, exact_match : Bool) : Bool
Source
is_action_type
Source
is_canceled
Source
is_echo
Source
is_match(event : InputEvent, exact_match : Bool) : Bool
Source
is_pressed
Source
is_released
Source
set_device(device : Int64) : Void
Source
xformed_by(xform : Transform2D, local_ofs : Vector2) : InputEvent
Source