Skip to main content

Module control

Module control 

Source
Expand description

Interface Control Plane (ICP) — fixed-size PortalControlCommand envelopes.

Hot path: packed u64 SPSC ring; producers (local HID, remote relay) push; QualiaPortal::tick drains and applies. Separate from Sonic Token 0x53 magic.

Structs§

ControlCommandRing
Fixed-capacity SPSC ring of packed control commands.
PortalControlCommand
Packed ICP command (8 bytes).

Constants§

CONTROL_RING_CAP
ICP_MAGIC_BIT
MENU_ACTION_HOME
MENU_ACTION_SONIFY_TOGGLE
OP_BUTTON_ACTION
OP_COLLAPSE_Q
OP_MENU_ACTION
OP_NAVIGATE_INDEX
OP_SET_CAMERA_DELTA
OP_SET_STANDPOINT_SCALAR
OP_SONIC_TOKEN_FORWARD
OP_SWIPE_GESTURE
OP_TILT_FRAME
STANDPOINT_SCALAR_EPISTEMIC_Q
STANDPOINT_SCALAR_T_SLICE
STANDPOINT_SCALAR_T_WINDOW

Functions§

control_pending
control_ring
pop_control_command
push_control_command
push_control_raw