Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Snoupix authored Mar 3, 2023
1 parent 8a99715 commit 4c36a08
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
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)

0 comments on commit 4c36a08

Please sign in to comment.