Skip to content

How to prevent the keyPressed event from continuously firing when a key is held down without being released? #470

Description

@formatsystem

Hello.
My idea is that after pressing the specified key, KeyPressed should only be executed once without releasing the key, instead of continuously executing nativeKeyPressed in a loop while the key is held down. How can I improve this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions