kle-serial
A Rust library for deserialising Keyboard Layout Editor files.
Designed to be used in conjunction with serde_json
to deserialize JSON files exported from KLE.
Example
use Keyboard; // Equivalent to kle_serial::Keyboard<f64> or kle_serial::f64::Keyboard
let keyboard: Keyboard = from_str.unwrap;
assert_eq!;
assert_eq!;
assert!;
let legend = keyboard.keys.legends.as_ref.unwrap;
assert_eq!;
assert_eq!;
assert!;
Licence
Licensed under either of
- Apache License, Version 2.0 (LICENCE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENCE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.