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

Function bloom_inject_key_down

native/windows/src/lib.rs:1617–1619  ·  view source on GitHub ↗
(key: f64)

Source from the content-addressed store, hash-verified

1615// Input injection + platform detection
1616#[no_mangle]
1617pub extern "C" fn bloom_inject_key_down(key: f64) {
1618 engine().input.set_key_down(key as usize);
1619}
1620#[no_mangle]
1621pub extern "C" fn bloom_inject_key_up(key: f64) {
1622 engine().input.set_key_up(key as usize);

Callers

nothing calls this directly

Calls 2

set_key_downMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected