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

Function bloom_is_key_down

native/ios/src/lib.rs:784–786  ·  view source on GitHub ↗
(key: f64)

Source from the content-addressed store, hash-verified

782
783#[no_mangle]
784pub extern "C" fn bloom_is_key_down(key: f64) -> f64 {
785 if engine().input.is_key_down(key as usize) { 1.0 } else { 0.0 }
786}
787
788#[no_mangle]
789pub extern "C" fn bloom_is_key_released(key: f64) -> f64 {

Callers 1

isKeyDownFunction · 0.50

Calls 2

is_key_downMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected