lighthouse-protocol 6.2.1

Protocol types for Project Lighthouse
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use serde::{Deserialize, Serialize};

/// A mouse button.
#[derive(Debug, Serialize, Deserialize, PartialEq, Eq, Clone)]
#[serde(rename_all = "camelCase")]
pub enum MouseButton {
    Left,
    Middle,
    Right,
    #[serde(untagged)]
    Unknown(String),
}