tengri/input
unspeaker 4ec51d5b69
Some checks failed
/ build (push) Has been cancelled
input, dsl: implement InputMap command matching
2025-04-28 23:28:53 +03:00
..
src input, dsl: implement InputMap command matching 2025-04-28 23:28:53 +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 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.