Skip to content

Missing keyboard input functionality #399

@ThomasMiz

Description

@ThomasMiz

There currently doesn't appear to be a way to properly detect some keys for keyboard typing input.

The Keyboard.KeyChar provides the characters typed, and keys such as Enter, Backspace, Tab, Delete can be detected via KeyDown. However, if the user is pressing down on the backspace key, the only thing we can register with this system is a single backspace press, and no repeats.

Looking at the GLFW input guide, there aren't just "key down" and "key up" actions, but there's also a "key repeat" action which we're probably ignoring.

We should try to present all these parameters in our KeyChar, KeyDown and KeyUp events.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions