[][src]Module cue_sdk::led

Contains the CueLed struct, and all of it's associated functionality and errors.

Structs

CueLed

This struct contains static information about the led (id, position, device index) as well as the last color we wrote to the color buffer, and the last color that we manually checked (confirmed read from device).

LedColor

A basic RGB struct for describing an LED color.

LedColorFromFfiError

An error for if the iCUE SDK returns invalid color values that aren't between 0-255.

LedPosition

The position of a given CueLed.

Enums

CheckColorError

The two-variant enum of errors that can occur when checking the color of a CueLed.

CommanderLedId
DeviceLedId
GraphicsCardLedId
HeadsetLedId
HeadsetStandLedId
IntegratedLedId
KeyboardLedId
LedId

All of the valid LedIds currently in the iCUE SDK. They are broken into subcategories, each with a number of available values.

MotherboardLedId
MouseMatLedId