Skip to content

Commit

Permalink
fix mouse input bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarudahat committed Jun 30, 2021
1 parent bdcec6a commit bb28d20
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ fn handle_input(input_str:&str,pressed:bool){
}}

false=>{match input_str{
"MS_L"=>Enigo.mouse_click(MouseButton::Left),
"MS_R"=>Enigo.mouse_click(MouseButton::Right),
"MS_M"=>Enigo.mouse_click(MouseButton::Middle),
"ESC"=>Enigo.key_up(Key::Escape),
"ENTER"=>Enigo.key_up(Key::Return),
"SHIFT"=>Enigo.key_up(Key::Shift),
Expand Down

0 comments on commit bb28d20

Please sign in to comment.