Crate kiibohd_hid_io
source ·Modules
- Supported Ids
- Info Query
- Sleep Mode
- Test Message
- Reset HID-IO
- Get Properties
- USB Key State TODO
- Keyboard Layout TODO
- Button Layout TODO
- Keycap Types TODO
- LED Layout TODO
- Flash Mode
- UTF-8 Character Stream
- UTF-8 State
- Trigger Host Macro TODO
- KLL Trigger State
- Pixel Settings Higher level LED operations and access to LED controller functionality
- Pixel Set (1ch, 8bit) TODO
- Pixel Set (3ch, 8bit)
- Pixel Set (1ch, 16bit) TODO
- Pixel Set (3ch, 16bit) TODO
- Direct Channel Set Control the buffer directly (device configuration dependent)
- Open URL
- Terminal Command
- Get OS Layout TODO
- Set OS Layout TODO
- Terminal Output
- HID Keyboard State TODO
- HID Keyboard LED State TODO
- HID Mouse State TODO
- HID Joystick State TODO
- Manufacturing Test
- Manufacturing Test Result
Structs
- HID-IO Packet Buffer Struct
- Defmt wrapper for core::str::Utf8Error
Enums
- Requests for to perform a specific action
- HID-IO Packet Types
- HID-IO Parse Error
Constants
Traits
- HID-IO Command Interface H - Max data payload length (HidIoPacketBuffer) HSUB1, HSUB2, HSUB4 - Due to current limitations of const generics (missing const_evaluatable_checked), H - 1, H - 2 and H - 4 must be defined at the top-level. ID - Max number of HidIoCommandIds
- Kiibohd Command Interface Simplified CommandInterface used to receive HID-IO callbacks.
Functions
- Determines whether there are following continued packets
- Converts a HID bitmask into an array of byte codes
- Converts a HID byte code array into a bitmask
- Determines packet id from a byte stream
- Determines id_width from a byte stream
- Determines the packet type from a byte stream
- Determines payload of packet from a byte stream
- Determines the starting position of the payload data