Virtual keyboard for Firefly Zero apps using the Rust SDK.
cargo add firefly-keyboard// fn boot()
let opts = firefly_keyboard::Options::default();
let kbd = firefly_keyboard::Keyboard::new(opts);
// fn update()
kbd.update();
if !kbd.is_open() {
let text = kbd.text.clone();
// ...
}
// fn render()
kbd.render();See examples/keyboard/main.rs for a complete example.
MIT License. Feel free to use the package in any apps and games and modify it for your needs.
Initially developed by Nanobot567 and is currently officially maintained by the Firefly Zero core team.
