Gamepad
(&mut self, axis: usize, value: f32)
| 203 | |
| 204 | // Gamepad |
| 205 | pub fn set_gamepad_axis(&mut self, axis: usize, value: f32) { |
| 206 | if axis < MAX_GAMEPAD_AXES { self.gamepad_axes[axis] = value; } |
| 207 | } |
| 208 | pub fn set_gamepad_button_down(&mut self, button: usize) { |
| 209 | if button < MAX_GAMEPAD_BUTTONS { self.gamepad_buttons_down[button] = true; } |
| 210 | } |
no outgoing calls
no test coverage detected