Expand description
Keyberon is a rust crate to create a pure rust keyboard firmware.
It is exposed as a library giving you the different building blocks to create a featureful keyboard firmware. As the different functionality are interconected by the user of the crate, you can use only the parts you are interested in or easily insert your own code in between.
This crate is a no_std crate, running on stable rust. To use it on a given MCU, you need GPIO throw the embedded hal crate to read the key states, and the usb-device crate for USB communication.
Modules§
- action
- The different actions that can be done.
- debounce
- Debouncer definition.
- hid
- key_
code - Key code definitions.
- keyboard
- Keyboard HID device implementation.
- layout
- Layout management.
- matrix
Macros§
- impl_
heterogenous_ array - Macro to implement a iterator on trait objects from a tuple struct.
Functions§
- new_
class - Constructor for
Class
. - new_
device - Constructor for a keyberon USB device.
Type Aliases§
- Class
- A handly shortcut for the keyberon USB class type.