|
@@ -7,6 +7,7 @@ use keyboard_types::Location;
|
|
|
|
|
|
/// A mouse button type (such as Primary/Secondary)
|
|
/// A mouse button type (such as Primary/Secondary)
|
|
// note: EnumSetType also derives Copy and Clone for some reason
|
|
// note: EnumSetType also derives Copy and Clone for some reason
|
|
|
|
+#[allow(clippy::unused_unit)]
|
|
#[derive(EnumSetType, Debug)]
|
|
#[derive(EnumSetType, Debug)]
|
|
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
|
|
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
|
|
pub enum MouseButton {
|
|
pub enum MouseButton {
|