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

Function bloom_is_key_pressed

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

Source from the content-addressed store, hash-verified

777
778#[no_mangle]
779pub extern "C" fn bloom_is_key_pressed(key: f64) -> f64 {
780 if engine().input.is_key_pressed(key as usize) { 1.0 } else { 0.0 }
781}
782
783#[no_mangle]
784pub extern "C" fn bloom_is_key_down(key: f64) -> f64 {

Callers 1

isKeyPressedFunction · 0.50

Calls 2

is_key_pressedMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected