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

Function bloom_inject_key_down

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

Source from the content-addressed store, hash-verified

2058
2059#[no_mangle]
2060pub extern "C" fn bloom_inject_key_down(key: f64) {
2061 engine().input.set_key_down(key as usize);
2062}
2063#[no_mangle]
2064pub extern "C" fn bloom_inject_key_up(key: f64) {
2065 engine().input.set_key_up(key as usize);

Callers 1

injectKeyDownFunction · 0.50

Calls 2

set_key_downMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected