.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/InputEventKey.xml. .. _class_InputEventKey: InputEventKey ============= **Inherits:** :ref:`InputEventWithModifiers` **<** :ref:`InputEventFromWindow` **<** :ref:`InputEvent` **<** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +---------------------------------------------------+------------------------------------------------------------------------+-----------+ | :ref:`bool` | :ref:`echo` | ``false`` | +---------------------------------------------------+------------------------------------------------------------------------+-----------+ | :ref:`Key` | :ref:`key_label` | ``0`` | +---------------------------------------------------+------------------------------------------------------------------------+-----------+ | :ref:`Key` | :ref:`keycode` | ``0`` | +---------------------------------------------------+------------------------------------------------------------------------+-----------+ | :ref:`KeyLocation` | :ref:`location` | ``0`` | +---------------------------------------------------+------------------------------------------------------------------------+-----------+ | :ref:`Key` | :ref:`physical_keycode` | ``0`` | +---------------------------------------------------+------------------------------------------------------------------------+-----------+ | :ref:`bool` | :ref:`pressed` | ``false`` | +---------------------------------------------------+------------------------------------------------------------------------+-----------+ | :ref:`int` | :ref:`unicode` | ``0`` | +---------------------------------------------------+------------------------------------------------------------------------+-----------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-----------------------------------+--------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`as_text_key_label` **(** **)** |const| | +-----------------------------------+--------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`as_text_keycode` **(** **)** |const| | +-----------------------------------+--------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`as_text_location` **(** **)** |const| | +-----------------------------------+--------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`as_text_physical_keycode` **(** **)** |const| | +-----------------------------------+--------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Key` | :ref:`get_key_label_with_modifiers` **(** **)** |const| | +-----------------------------------+--------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Key` | :ref:`get_keycode_with_modifiers` **(** **)** |const| | +-----------------------------------+--------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Key` | :ref:`get_physical_keycode_with_modifiers` **(** **)** |const| | +-----------------------------------+--------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_InputEventKey_property_echo: .. rst-class:: classref-property :ref:`bool` **echo** = ``false`` .. rst-class:: classref-property-setget - void **set_echo** **(** :ref:`bool` value **)** - :ref:`bool` **is_echo** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_InputEventKey_property_key_label: .. rst-class:: classref-property :ref:`Key` **key_label** = ``0`` .. rst-class:: classref-property-setget - void **set_key_label** **(** :ref:`Key` value **)** - :ref:`Key` **get_key_label** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_InputEventKey_property_keycode: .. rst-class:: classref-property :ref:`Key` **keycode** = ``0`` .. rst-class:: classref-property-setget - void **set_keycode** **(** :ref:`Key` value **)** - :ref:`Key` **get_keycode** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_InputEventKey_property_location: .. rst-class:: classref-property :ref:`KeyLocation` **location** = ``0`` .. rst-class:: classref-property-setget - void **set_location** **(** :ref:`KeyLocation` value **)** - :ref:`KeyLocation` **get_location** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_InputEventKey_property_physical_keycode: .. rst-class:: classref-property :ref:`Key` **physical_keycode** = ``0`` .. rst-class:: classref-property-setget - void **set_physical_keycode** **(** :ref:`Key` value **)** - :ref:`Key` **get_physical_keycode** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_InputEventKey_property_pressed: .. rst-class:: classref-property :ref:`bool` **pressed** = ``false`` .. rst-class:: classref-property-setget - void **set_pressed** **(** :ref:`bool` value **)** - :ref:`bool` **is_pressed** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_InputEventKey_property_unicode: .. rst-class:: classref-property :ref:`int` **unicode** = ``0`` .. rst-class:: classref-property-setget - void **set_unicode** **(** :ref:`int` value **)** - :ref:`int` **get_unicode** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_InputEventKey_method_as_text_key_label: .. rst-class:: classref-method :ref:`String` **as_text_key_label** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_InputEventKey_method_as_text_keycode: .. rst-class:: classref-method :ref:`String` **as_text_keycode** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_InputEventKey_method_as_text_location: .. rst-class:: classref-method :ref:`String` **as_text_location** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_InputEventKey_method_as_text_physical_keycode: .. rst-class:: classref-method :ref:`String` **as_text_physical_keycode** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_InputEventKey_method_get_key_label_with_modifiers: .. rst-class:: classref-method :ref:`Key` **get_key_label_with_modifiers** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_InputEventKey_method_get_keycode_with_modifiers: .. rst-class:: classref-method :ref:`Key` **get_keycode_with_modifiers** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_InputEventKey_method_get_physical_keycode_with_modifiers: .. rst-class:: classref-method :ref:`Key` **get_physical_keycode_with_modifiers** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`