[−][src]Crate keyberon
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 |
new_device | Constructor for a keyberon USB device. |
Type Definitions
Class | A handly shortcut for the keyberon USB class type. |