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

Function bloom_inject_key_down

native/web/src/lib.rs:401–403  ·  view source on GitHub ↗
(key: f64)

Source from the content-addressed store, hash-verified

399
400#[wasm_bindgen]
401pub fn bloom_inject_key_down(key: f64) {
402 engine().input.set_key_down(key as usize);
403}
404
405#[wasm_bindgen]
406pub fn bloom_inject_key_up(key: f64) {

Callers

nothing calls this directly

Calls 2

set_key_downMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected