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

Function bloom_inject_gamepad_axis

native/linux/src/lib.rs:1836–1838  ·  view source on GitHub ↗
(axis: f64, value: f64)

Source from the content-addressed store, hash-verified

1834}
1835#[no_mangle]
1836pub extern "C" fn bloom_inject_gamepad_axis(axis: f64, value: f64) {
1837 engine().input.set_gamepad_axis(axis as usize, value as f32);
1838}
1839#[no_mangle]
1840pub extern "C" fn bloom_inject_gamepad_button_down(button: f64) {
1841 engine().input.set_gamepad_button_down(button as usize);

Callers

nothing calls this directly

Calls 2

set_gamepad_axisMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected