(&self, player: usize, button: GamepadButton)
| 145 | } |
| 146 | |
| 147 | pub fn is_gamepad_button_up(&self, player: usize, button: GamepadButton) -> bool { |
| 148 | self.gamepad_buttons.is_up((player, button)) |
| 149 | } |
| 150 | |
| 151 | pub fn is_gamepad_button_pressed(&self, player: usize, button: GamepadButton) -> bool { |
| 152 | self.gamepad_buttons.is_pressed((player, button)) |