(&self, player: usize, button: GamepadButton)
| 141 | } |
| 142 | |
| 143 | pub fn is_gamepad_button_down(&self, player: usize, button: GamepadButton) -> bool { |
| 144 | self.gamepad_buttons.is_down((player, button)) |
| 145 | } |
| 146 | |
| 147 | pub fn is_gamepad_button_up(&self, player: usize, button: GamepadButton) -> bool { |
| 148 | self.gamepad_buttons.is_up((player, button)) |