Skip to content

Commit

Permalink
Allow mouse state cloning
Browse files Browse the repository at this point in the history
  • Loading branch information
EthoIRL committed Jan 25, 2024
1 parent 1308e14 commit 20ad7c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gadgets/mouse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ impl Default for Mouse {
}
}

#[derive(Copy, Clone)]
pub struct MouseState {
pub left_button: bool,
pub right_button: bool,
Expand Down

0 comments on commit 20ad7c8

Please sign in to comment.