Modules§
- buffer
- commands
- h0000
- Supported Ids
- h0001
- Info Query
- h0002
- Test Message
- h0003
- Reset HID-IO
- h001a
- Sleep Mode
- h0010
- Get Properties
- h0011
- USB Key State TODO
- h0012
- Keyboard Layout TODO
- h0013
- Button Layout TODO
- h0014
- Keycap Types TODO
- h0015
- LED Layout TODO
- h0016
- Flash Mode
- h0017
- UTF-8 Character Stream
- h0018
- UTF-8 State
- h0019
- Trigger Host Macro TODO
- h0020
- KLL Trigger State
- h0021
- Pixel Settings Higher level LED operations and access to LED controller functionality
- h0022
- Pixel Set (1ch, 8bit) TODO
- h0023
- Pixel Set (3ch, 8bit)
- h0024
- Pixel Set (1ch, 16bit) TODO
- h0025
- Pixel Set (3ch, 16bit) TODO
- h0026
- Direct Channel Set Control the buffer directly (device configuration dependent)
- h0030
- Open URL
- h0031
- Terminal Command
- h0032
- Get OS Layout TODO
- h0033
- Set OS Layout TODO
- h0034
- Terminal Output
- h0040
- HID Keyboard State TODO
- h0041
- HID Keyboard LED State TODO
- h0042
- HID Mouse State TODO
- h0043
- HID Joystick State TODO
- h0050
- Manufacturing Test
- h0051
- Manufacturing Test Result
Structs§
- Command
Interface - HidIo
Host Info - HidIo
Packet Buffer - HID-IO Packet Buffer Struct
- Utf8
Error - Defmt wrapper for core::str::Utf8Error
Enums§
- Command
Error - HidIo
Command Id - Requests for to perform a specific action
- HidIo
Event - HidIo
Packet Type - HID-IO Packet Types
- HidIo
Parse Error - HID-IO Parse Error
Constants§
Traits§
- Commands
- 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 - Kiibohd Command Interface Simplified CommandInterface used to receive HID-IO callbacks.
Functions§
- continued_
packet - Determines whether there are following continued packets
- hid_
bitmask2vec - Converts a HID bitmask into an array of byte codes
- hid_
vec2bitmask - Converts a HID byte code array into a bitmask
- packet_
id - Determines packet id from a byte stream
- packet_
id_ width - Determines id_width from a byte stream
- packet_
type - Determines the packet type from a byte stream
- payload_
len - Determines payload of packet from a byte stream
- payload_
start - Determines the starting position of the payload data