tengri/input
2025-03-02 14:31:04 +02:00
..
src tabula rasa 2025-03-02 14:31:04 +02:00
Cargo.lock tabula rasa 2025-03-02 14:31:04 +02:00
Cargo.toml tabula rasa 2025-03-02 14:31:04 +02:00
README.md tabula rasa 2025-03-02 14:31:04 +02:00

tek_engine

rendering

input handling

the input thread polls for keyboard events and passes them onto the application's Handle::handle method.

thus, for a type to be a valid application for engine E, it must implement the trait Handle<E>, which allows it to respond to user input.

this thread has write access to the application state, and is responsible for mutating it in response to user activity.