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

// kle_serial::Keyboard uses f64 coordinates by default. If you need f32 coordinates use
// kle_serial::Keyboard<f32> or kle_serial::f32::Keyboard instead.
use 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.