Skip to content

keyToggle only keep some keys pressed. #35

@bikutaa-dev

Description

@bikutaa-dev

Hey,
good work on this, but I'm a bit confused on something, the keytoggle function set to toggle down only seems to hold some keys pressed. When tested with "Shift" it holds the key down and as expected any typed letter is uppercased while its toggled down. But with letter such as "a" it only outputs one "a" and nothing more, when the expected behavior (for me) is that will keep outputting "a" until it toggles up.

Is this a error or intended behavior?

Update: Okay interesting, done some more testing, in game it seems to recognize that any key is pressed down, but any text editor or text field only type a single characters.

Update 2: Though it would be also worth mentioning that the keyTap function don't seems to be picked up in most games, while the toggle does. But it is picked up in text editors and textboxes.

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