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

Function bloom_is_key_down

native/windows/src/lib.rs:501–503  ·  view source on GitHub ↗
(key: f64)

Source from the content-addressed store, hash-verified

499
500#[no_mangle]
501pub extern "C" fn bloom_is_key_down(key: f64) -> f64 {
502 if engine().input.is_key_down(key as usize) { 1.0 } else { 0.0 }
503}
504
505#[no_mangle]
506pub extern "C" 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