Skip to content

Keyboard input? #3

@viviicat

Description

@viviicat

Figured I might as well add this too...

Right now hamster only takes care of mouse input. I tried to add a callback for key presses but it didn't work inside the Scene (I still don't understand gtk event callbacks perfectly). I had to make one in my program's main loop, which worked. Not a real big deal, but if hamster supported keyboard input callbacks the input functions could be defined in the same object which seems neater (useful for something like escape to quit).

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