Skip to content

Commit

Permalink
#686 Remove mouse-rs, just keep enigo
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Sep 21, 2022
1 parent 5b95286 commit 5b2665e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 278 deletions.
165 changes: 1 addition & 164 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions main/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ realearn-dialogs = { path = "../dialogs" }
either = "1.8.0"
# For reading preset directories recursively
walkdir = "2"
# For the mouse target (obsolete)
mouse-rs = "0.4.2"
# For the mouse target (to simulate mouse)
enigo = "0.0.14"
# For the mouse target (to query mouse state)
Expand Down
1 change: 0 additions & 1 deletion main/src/domain/mouse/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ mod api;
pub use api::*;

pub mod enigo;
pub mod mouse_rs;
104 changes: 0 additions & 104 deletions main/src/domain/mouse/mouse_rs.rs

This file was deleted.

2 changes: 0 additions & 2 deletions main/src/domain/targets/mouse_target.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use crate::domain::enigo::EnigoMouse;
use crate::domain::mouse_rs::RsMouse;
use crate::domain::ui_util::convert_bool_to_unit_value;
use crate::domain::{
convert_count_to_step_size, Compartment, ControlContext, ExtendedProcessorContext, HitResponse,
Expand Down Expand Up @@ -32,7 +31,6 @@ impl UnresolvedReaperTargetDef for UnresolvedMouseTarget {
}
}

pub type RsMouseTarget = MouseTarget<RsMouse>;
pub type EnigoMouseTarget = MouseTarget<EnigoMouse>;

#[derive(Clone, Debug, Eq, PartialEq)]
Expand Down
Loading

0 comments on commit 5b2665e

Please sign in to comment.