| Crates.io | hidmon |
| lib.rs | hidmon |
| version | 0.2.0 |
| created_at | 2025-02-09 06:36:23.228667+00 |
| updated_at | 2025-02-16 22:19:08.114667+00 |
| description | Lightweight, callback-based keyboard/mouse monitoring |
| homepage | |
| repository | https://github.com/koenigbs18/hidmon |
| max_upload_size | |
| id | 1548705 |
| size | 41,568 |
Simple library for monitoring HID (keyboard, mouse) events via callbacks.
See src/main.rs
Windows
HidMonitor before calling HidMonitor::enable, otherwise your system may become unresponsive! For maximum safety, ensure the message loop is running before enabling any hooks, or shortly after. For applications which otherwise do not care about handling WinApi messages, [HidMonitor::message_loop] serves as a convenience function for starting a simple message handler.HidMonitor::enable on the WinApi documentation for SetWindowsHookExAUnix
This project is licensed under the Apache License 2.0.
See the LICENSE file for details.