summaryrefslogtreecommitdiffstats
path: root/native/src/input/mouse/button.rs
blob: aeb8a55d4f3ebe3d41e6ef7fd6c9384a0e54675a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// The button of a mouse.
#[derive(Debug, Hash, PartialEq, Eq, Clone, Copy)]
pub enum Button {
    /// The left mouse button.
    Left,

    /// The right mouse button.
    Right,

    /// The middle (wheel) button.
    Middle,

    /// Some other button.
    Other(u8),
}