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

Function bloom_get_gamepad_axis

native/macos/src/lib.rs:761–763  ·  view source on GitHub ↗
(axis: f64)

Source from the content-addressed store, hash-verified

759
760#[no_mangle]
761pub extern "C" fn bloom_get_gamepad_axis(axis: f64) -> f64 {
762 engine().input.get_gamepad_axis(axis as usize) as f64
763}
764
765#[no_mangle]
766pub extern "C" fn bloom_is_gamepad_button_pressed(btn: f64) -> f64 {

Callers

nothing calls this directly

Calls 2

get_gamepad_axisMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected