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.


    Setterset_pressed(value)
    Getteris_pressed()

    If true, the key’s state is pressed. If , the key’s state is released.


    • scancode

    Setterset_unicode(value)
    Getterget_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 .