InputEventKey
Category: Core
Input event type for keyboard events.
Properties
get_scancode_with_modifiers ( ) const |
Description
Property Descriptions
- echo
If , the key was already pressed before this event. It means the user is holding the key down.
- bool pressed
Setter | set_pressed(value) |
Getter | is_pressed() |
If true
, the key’s state is pressed. If , the key’s state is released.
- scancode
Setter | set_unicode(value) |
Getter | get_unicode() |
Key unicode identifier when relevant.
- int get_scancode_with_modifiers ( ) const
Returns the scancode combined with modifier keys such as or Alt
. See also .