lock_keys 1.1.0

Rust library for lock keys handling.
Documentation
1
2
3
4
5
6
7
8
//! How to toggle the state of the Capital Lock key.

use lock_keys::*;

fn main() {
    let lock_key = LockKey::new();
    lock_key.toggle(LockKeys::CapitalLock).unwrap();
}