Skip to main content

Module connection

Module connection 

Source
Expand description

Shared connection type definitions used across RMK crates.

Structs§

ConnectionStatus
Unified connection status: the single source of truth for transport availability and routing. The active transport is derived on demand via Self::decide_active from the input fields below.

Enums§

ConnectionType
Connection type for the keyboard.
UsbState
USB device lifecycle. Suspended is distinct from Configured because the bus is enumerated but transmission is gated on remote wakeup — the first key still needs to reach the USB writer to trigger that wakeup.