(axis: f64)
| 759 | |
| 760 | #[no_mangle] |
| 761 | pub 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] |
| 766 | pub extern "C" fn bloom_is_gamepad_button_pressed(btn: f64) -> f64 { |
nothing calls this directly
no test coverage detected