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 aaca230 commit 282e6ecCopy full SHA for 282e6ec
lighthouse-protocol/src/input/mouse_event.rs
@@ -12,6 +12,8 @@ pub struct MouseEvent {
12
pub source: EventSource,
13
/// Whether the button was pressed.
14
pub down: bool,
15
+ /// Whether the mouse pointer was locked (e.g. to the frontend's canvas)
16
+ pub pointer_locked: bool,
17
/// The mouse button.
18
pub button: MouseButton,
19
/// The mouse position on the lighthouse grid.
0 commit comments