InputEventKey¶
Inherits: InputEventWithModifiers < InputEvent < Resource < Reference < Object
Category: Core
Brief Description¶
Input event type for keyboard events.
Member Functions¶
int | get_scancode_with_modifiers ( ) const |
Member Variables¶
- bool echo - If
true
the key was already pressed before this event. It means the user is holding the key down. - bool pressed - If
true
the key’s state is pressed. Iffalse
the key’s state is released. - int scancode - Key scancode, one of the
KEY_*
constants in @global Scope. - int unicode - Key unicode identifier when relevant.