Skip to content

Input state object #664

@kushalkolar

Description

@kushalkolar

Is it possible to have a "key_hold" event that is triggered when a key is held in the "down" position? It seems like the "key_down" event is only triggered once when a key is pressed, there doesn't seem to be an event that corresponds to a key being held down.

One possible way is to add a animation function that is called before rendering each frame to check if a key is being held down, but this could be inefficient?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions