tengri/input
unspeaker 776cea6f1b
Some checks are pending
/ build (push) Waiting to run
dsl: reduce number of lifetime arguments
2025-05-21 02:50:26 +03:00
..
src dsl: reduce number of lifetime arguments 2025-05-21 02:50:26 +03:00
Cargo.lock tek_ -> tengri_; reset to v0.1.0; add root reexporter package 2025-03-14 23:39:31 +02:00
Cargo.toml add tengri_core; fix errors and warnings; unify deps 2025-05-10 15:25:09 +03: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.