Skip to content

Register callback to listen for input events #1

Description

@Qard

Currently Input.h just has a condition for to handle window closing, but there is no programmatic control of input yet. I'm currently leaning toward using lambda functions that receive a struct describing input state.

I'm considering having both onKeyDown and whileKeyDown registration methods, so you can get both book-end events and or continuous-stream events. This will likely be useful for stuff like touch gestures later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions