From 4c36a086db9cb2241616c4abca92cae1febc8973 Mon Sep 17 00:00:00 2001 From: Snoupix <35530306+Snoupix@users.noreply.github.com> Date: Fri, 3 Mar 2023 16:39:32 +0100 Subject: [PATCH] Create README.md --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..fbfecd7 --- /dev/null +++ b/README.md @@ -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)