| Crates.io | claves |
| lib.rs | claves |
| version | 0.2.0 |
| created_at | 2022-09-23 02:20:47.900212+00 |
| updated_at | 2023-09-16 12:46:11.281991+00 |
| description | A library for capturing Keystrokes and Mouse clicks on Linux, MacOS and Windows. |
| homepage | https://github.com/Selyatin/claves |
| repository | https://github.com/Selyatin/claves |
| max_upload_size | |
| id | 672082 |
| size | 44,309 |
use claves::{init, deinit};
fn main(){
// Global channel, you can initiate a receiver from multiple threads and all of them will receive the events.
let receiver = init();
dbg!(receiver.recv().unwrap());
// Deinitializes all threads that capture data from the keyboard and mouse, then empties out the global channel.
deinit();
}