MCPcopy Create free account
hub / github.com/PerroEngine/Perro / set_key_state

Method set_key_state

perro_source/render_stack/perro_app/src/lib.rs:255–257  ·  view source on GitHub ↗
(&mut self, key: KeyCode, is_down: bool)

Source from the content-addressed store, hash-verified

253 }
254
255 #[inline]
256 pub fn update_runtime(&mut self, delta_time: f32) -> perro_runtime::RuntimeUpdateTiming {
257 #[cfg(feature = "profile_heavy")]
258 {
259 self.runtime.update_timed(delta_time)
260 }

Callers 1

handle_window_eventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected