(&mut self, dx: f32, dy: f32)
| 131 | /// Apply a mouse button transition and refresh affected actions. |
| 132 | #[inline] |
| 133 | pub fn set_mouse_button_state(&mut self, button: MouseButton, is_down: bool) { |
| 134 | self.mouse.set_button_state(button, is_down); |
| 135 | if self.mouse.is_button_pressed(button) { |
| 136 | self.capture_rebind(InputBinding::Mouse(button)); |
| 137 | } |
| 138 | self.refresh_mouse_actions(button); |