(&self, axis: usize)
| 214 | |
| 215 | pub fn is_gamepad_available(&self) -> bool { self.gamepad_available } |
| 216 | pub fn get_gamepad_axis(&self, axis: usize) -> f32 { |
| 217 | if axis < MAX_GAMEPAD_AXES { self.gamepad_axes[axis] } else { 0.0 } |
| 218 | } |
| 219 | pub fn is_gamepad_button_pressed(&self, button: usize) -> bool { |
| 220 | button < MAX_GAMEPAD_BUTTONS && self.gamepad_buttons_pressed[button] |
| 221 | } |
no outgoing calls
no test coverage detected