MrTanoshii / rusty-autoclicker

A pure Rust portable auto clicker built for Linux, macOS & Windows.
Creative Commons Zero v1.0 Universal
71 stars 12 forks source link

Remove blocking `thread::sleep()`s #5

Open MrTanoshii opened 2 years ago

MrTanoshii commented 2 years ago

Problem

thread::sleep()s are currently implemented to allow:

Solution

They should be removed in favor of code execution being tested against delta_time

Relevant code

app.rs send() app.rs autoclick()