Skip to content

About

⌨️ A rust crate for virtual keyboard for Firefly Zero

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

44 Commits

Folders and files

Repository files navigation

luxboard lite

Virtual keyboard for Firefly Zero apps using the Rust SDK.

a screenshot taken from Firefly Zero of a dark gray, QWERTY layout keyboard with a light gray outline around each key. the selected key, 'OK', is highlighted in blue. above the keyboard is the text, "hello, world!"

Installation

cargo add firefly-keyboard

Usage

// 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.

License

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.

About

⌨️ A rust crate for virtual keyboard for Firefly Zero

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages