tengri/input
2025-03-16 23:43:14 +02:00
..
src group tui_engine and tui_content; cargo update 2025-03-16 23:33:27 +02:00
Cargo.lock tek_ -> tengri_; reset to v0.1.0; add root reexporter package 2025-03-14 23:39:31 +02:00
Cargo.toml tag global v0.1.1 2025-03-16 23:43:14 +02:00
README.md tek_ -> tengri_; reset to v0.1.0; add root reexporter package 2025-03-14 23:39:31 +02:00

tengri_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.