-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# APM-Counter | ||
|
||
A simple APM counter on the top-right screen corner written in Rust. | ||
I'm using **eframe**, hence, **egui** for the Graphical User Interface (display), **rdev** for keyboard & mouse inputs, **tokio** for async tasks and Rust's standard library. | ||
|
||
## Explanations | ||
|
||
*Every keystroke will be taken when the App window isn't focused.* | ||
|
||
Once started, it will display an APM counter that resets every minute and display the average Action Per Minute calculated in one minute every 100ms. | ||
|
||
It only counts on a key/button release. Scroll wheel and mouse movement aren't used in the script. | ||
|
||
For now, to shutdown the application, just press **Escape**. | ||
|
||
## crates.io dependencies | ||
|
||
- [eframe](https://crates.io/crates/eframe) -> [egui](https://crates.io/crates/egui) | ||
- [rdev](https://crates.io/crates/rdev) | ||
- [tokio](https://crates.io/crates/tokio) |