lock_keys

CI/CD Crates.io Documentation License

lock_keys provides a cross platform way for lock keys handling.

Supported platforms: Linux (Xlib static), Windows (winuser API) and macOS (IOKit).

Usage

Add this to your Cargo.toml:

ini [dependencies] lock_keys = "*"

and then:

```rust use lock_keys::*;

fn main() { let lockkey = LockKey::new(); lockkey.enable(LockKeys::CapitalLock).unwrap(); } ```

Contributions

Pull Requests are welcome! =)

License

lock_keys is licensed under either of the following, at your option: