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

Function bloom_get_gamepad_axis

native/ios/src/lib.rs:1869–1871  ·  view source on GitHub ↗
(_gamepad: f64, axis: f64)

Source from the content-addressed store, hash-verified

1867
1868#[no_mangle]
1869pub extern "C" fn bloom_get_gamepad_axis(_gamepad: f64, axis: f64) -> f64 {
1870 engine().input.get_gamepad_axis(axis as usize) as f64
1871}
1872
1873#[no_mangle]
1874pub extern "C" fn bloom_is_gamepad_button_pressed(_gamepad: f64, button: f64) -> f64 {

Callers 2

getGamepadAxisValueFunction · 0.50
getGamepadAxisFunction · 0.50

Calls 2

get_gamepad_axisMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected