pointer_types/pointer/
button.rs1#[derive(Debug, Hash, PartialEq, Eq, PartialOrd, Ord, Clone, Copy)]
2#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
3#[repr(u8)]
4pub enum PointerButton {
5 Primary = 0,
6 Secondary = 1,
7 Tertiary = 2,
8 Back = 3,
9 Forward = 4,
10 Eraser = 5,
11 Other(u8) = 6,
12}