Skip to content

API to enable text entry #44

@morew4rd

Description

@morew4rd

Lyte2D's current "keyboard input" API (is_key_(down/pressed/released/repeat)) is great for games, but it makes it very hard to implement text entry (think filling fields, or even text editors)

A possible way to solve this would be exposing corresponding tables with an API like get_(down/pressed/released/repeat)_keys.

Another would be following LOVE2D (in spirit, as Lyte2D does not favor events): start_textinput, stop_textinput, get_textinput_string, reset_textinput_string.

Related: #4

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions