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

Function bloom_get_gamepad_axis

native/tvos/src/lib.rs:2837–2839  ·  view source on GitHub ↗
(_gamepad: f64, axis: f64)

Source from the content-addressed store, hash-verified

2835
2836#[no_mangle]
2837pub extern "C" fn bloom_get_gamepad_axis(_gamepad: f64, axis: f64) -> f64 {
2838 engine().input.get_gamepad_axis(axis as usize) as f64
2839}
2840
2841#[no_mangle]
2842pub extern "C" fn bloom_is_gamepad_button_pressed(_gamepad: f64, button: f64) -> f64 {

Callers

nothing calls this directly

Calls 2

get_gamepad_axisMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected