MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / bloom_is_key_down

Function bloom_is_key_down

native/web/src/lib.rs:250–252  ·  view source on GitHub ↗
(key: f64)

Source from the content-addressed store, hash-verified

248
249#[wasm_bindgen]
250pub fn bloom_is_key_down(key: f64) -> f64 {
251 if engine().input.is_key_down(key as usize) { 1.0 } else { 0.0 }
252}
253
254#[wasm_bindgen]
255pub fn bloom_is_key_released(key: f64) -> f64 {

Callers

nothing calls this directly

Calls 2

is_key_downMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected