(&self, player: usize, axis: GamepadAxis)
| 157 | } |
| 158 | |
| 159 | pub fn gamepad_axis(&self, player: usize, axis: GamepadAxis) -> f32 { |
| 160 | self.axes.get_value(player, axis) |
| 161 | } |
| 162 | |
| 163 | pub fn has_gamepad_axis_moved(&self, player: usize, axis: GamepadAxis) -> bool { |
| 164 | self.axes.has_moved(player, axis) |