(&mut self)
| 99 | |
| 100 | #[inline(always)] |
| 101 | pub fn begin_frame(&mut self) { |
| 102 | self.buttons_pressed.fill(0); |
| 103 | self.buttons_released.fill(0); |
| 104 | } |
| 105 | |
| 106 | #[inline(always)] |
| 107 | pub fn set_button_state(&mut self, button: GamepadButton, is_down: bool) { |