From 20ad7c8b4c932ae50d1e76bc0450fbe82f6ed6ea Mon Sep 17 00:00:00 2001 From: Etho <58352929+EthoIRL@users.noreply.github.com> Date: Thu, 25 Jan 2024 14:47:15 -0800 Subject: [PATCH] Allow mouse state cloning --- src/gadgets/mouse.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gadgets/mouse.rs b/src/gadgets/mouse.rs index 564d7ae..cf72671 100644 --- a/src/gadgets/mouse.rs +++ b/src/gadgets/mouse.rs @@ -22,6 +22,7 @@ impl Default for Mouse { } } +#[derive(Copy, Clone)] pub struct MouseState { pub left_button: bool, pub right_button: bool,