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

Method show

perro_source/api_modules/perro_input_api/src/window.rs:322–324  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

320 }
321
322 /// Return `true` only on the frame the key changes from up to down.
323 #[inline]
324 pub fn pressed(&self, key: KeyCode) -> bool {
325 self.ipt.keyboard().is_key_pressed(key)
326 }
327

Callers

nothing calls this directly

Calls 1

set_modeMethod · 0.45

Tested by

no test coverage detected