alec-jackson / studious-engine

A platform agnostic, backend agnostic, graphics engine...in theory
MIT License
3 stars 1 forks source link

Design and Implement an Input Controller component #21

Open Weetsy opened 7 months ago

Weetsy commented 7 months ago

Design an input controller component that can track the state of user input (key down, key up, axis+/-, etc). Design this controller so that its primary input/output with Studious is via event listeners that subscribe to the input state changes. The InputController component should have a list of subscribers that get updated asynchronously as input is provided.