OnyxControls

Stable typed entry points for firmware controls that historically required reflection.

Functions

Link copied to clipboard

Configures the firmware dash stroke lengths and phase.

Link copied to clipboard
suspend fun setPenState(view: View, state: PenState): Result<ControlReceipt>

Updates the handwriting pen state associated with view.

Link copied to clipboard
suspend fun setSideButtonMode(mode: SideButtonMode, capability: Capability<Unit>? = null): Result<ControlReceipt>

Assigns mode to the pen's side button.

Link copied to clipboard
suspend fun setTurboMode(mode: TurboMode, capability: Capability<Unit>? = null): Result<ControlReceipt>

Enables or disables firmware turbo rendering.