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

Function bloom_is_key_down

native/linux/src/lib.rs:733–735  ·  view source on GitHub ↗
(key: f64)

Source from the content-addressed store, hash-verified

731
732#[no_mangle]
733pub extern "C" fn bloom_is_key_down(key: f64) -> f64 {
734 if engine().input.is_key_down(key as usize) { 1.0 } else { 0.0 }
735}
736
737#[no_mangle]
738pub 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