We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c1d508 commit aaca230Copy full SHA for aaca230
lighthouse-protocol/src/input/mouse_event.rs
@@ -10,6 +10,8 @@ use super::{EventSource, MouseButton};
10
pub struct MouseEvent {
11
/// The client identifier.
12
pub source: EventSource,
13
+ /// Whether the button was pressed.
14
+ pub down: bool,
15
/// The mouse button.
16
pub button: MouseButton,
17
/// The mouse position on the lighthouse grid.
0 commit comments