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

Function bloom_is_key_down

native/android/src/lib.rs:359–361  ·  view source on GitHub ↗
(key: f64)

Source from the content-addressed store, hash-verified

357
358#[no_mangle]
359pub extern "C" fn bloom_is_key_down(key: f64) -> f64 {
360 if engine().input.is_key_down(key as usize) { 1.0 } else { 0.0 }
361}
362
363#[no_mangle]
364pub 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