class

Godot::InputEventKey

Inherits Godot::InputEventWithModifiers < Godot::InputEventFromWindow < Godot::InputEvent < Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object

Constructors

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

Instance methods

as_text_key_label
Source
as_text_keycode
Source
as_text_location
Source
as_text_physical_keycode
Source
echo

Property echo getter

Source
echo=(val)

Property echo setter

Source
echo?
Source
get_key_label
Source
get_key_label_with_modifiers
Source
get_keycode
Source
get_keycode_with_modifiers
Source
get_location
Source
get_physical_keycode
Source
get_physical_keycode_with_modifiers
Source
get_unicode
Source
key

Returns the pressed keycode as a strongly-typed Godot::Key enum

Source
key_label

Property key_label getter

Source
key_label=(val : Int)

Property key_label setter

Source
keycode

Property keycode getter

Source
keycode=(val : Int)

Property keycode setter

Source
location

Property location getter

Source
location=(val : Int)

Property location setter

Source
physical_key

Returns the physical keycode as a strongly-typed Godot::Key enum

Source
physical_keycode

Property physical_keycode getter

Source
physical_keycode=(val : Int)

Property physical_keycode setter

Source
pressed

Property pressed getter

Source
pressed=(val)

Property pressed setter

Source
pressed?
Source
set_echo(echo : Bool) : Void
Source
set_key_label(key_label : Int64) : Void
Source
set_keycode(keycode : Int64) : Void
Source
set_location(location : Int64) : Void
Source
set_physical_keycode(physical_keycode : Int64) : Void
Source
set_pressed(pressed : Bool) : Void
Source
set_unicode(unicode : Int64) : Void
Source
unicode

Property unicode getter

Source
unicode=(val : Int)

Property unicode setter

Source