lock_keys
lock_keys provides a cross platform way for lock keys handling.
Supported platforms: Linux (Xlib static) and Windows (winuser API).
Example
The example below shows how to turn on the Number Lock key:
extern crate lock_keys;
use *;
Usage
Add this to your Cargo.toml:
[dependencies]
lock_keys = "1.0.0"
and this to your crate root:
extern crate lock_keys;
Contributions
Pull Requests and Issues are welcome!
License
lock_keys is licensed under either of the following, at your option:
- Apache License 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)