[−][src]Crate keytokey
Re-exports
pub use crate::handlers::ProcessKeys; |
pub use crate::handlers::HandlerResult; |
Modules
debug_handlers | |
handlers | |
premade | |
test_helpers |
Structs
Keyboard | the main keyboard struct |
KeyboardState |
Enums
Event | |
EventStatus | |
KeyCode | usb key codes mapped into the first private region of unicode USBKeyOut must substract UNICODE_BELOW_256 to create valid u8 values to transmit |
Modifier | current keyboard state. |
UnicodeSendMode | Different operating systems expect random unicode input as different key combinations unfortunatly, we can't detect what we're connected to, so the keyboard needs to provide some kinde of switch key. |
UserKey | KeyCodes not being used by anything by default so you're free to use these to assign macros/tapdances/leaders and what not. |
Traits
AcceptsKeycode | Trait for things that can be converted to a u32 keycode ie. various integers and (usb) KeyCodes themselves |
USBKeyOut | the handlers use this trait to generate their output |
Functions
iter_unhandled_mut |
Type Definitions
HandlerID | an identifer for an added handler to be used with Keyboard.output.enable_handler and consorts |