CorsairOfficial / cue-sdk

Corsair iCUE SDK
https://corsairofficial.github.io/cue-sdk/
215 stars 23 forks source link

Get data from devices #31

Closed Cyba3rr closed 1 year ago

Cyba3rr commented 1 year ago

Hello,

is there a way to get Temperature data out of any device? Or the RPM from a Fan? Thanks

intrueder commented 1 year ago

No, at least not in the current version. CorsairDevicePropertyId enumeration has no members related to temperature or RPM:

enum CorsairDevicePropertyId // contains list of properties identifiers which can be read from device
{
    CDPI_Invalid = 0,                     // dummy value
    CDPI_PropertyArray = 1,               // array of CorsairDevicePropertyId members supported by device
    CDPI_MicEnabled = 2,                  // indicates Mic state (On or Off); used for headset, headset stand
    CDPI_SurroundSoundEnabled = 3,        // indicates Surround Sound state (On or Off); used for headset, headset stand
    CDPI_SidetoneEnabled = 4,             // indicates Sidetone state (On or Off); used for headset (where applicable)
    CDPI_EqualizerPreset = 5,             // the number of active equalizer preset (integer, 1 - 5); used for headset, headset stand
    CDPI_PhysicalLayout = 6,              // keyboard physical layout (see CorsairPhysicalLayout for valid values); used for keyboard
    CDPI_LogicalLayout = 7,               // keyboard logical layout (see CorsairLogicalLayout for valid values); used for keyboard
    CDPI_MacroKeyArray = 8,               // array of programmable G, M or S keys on device
    CDPI_BatteryLevel = 9,                // battery level (0 - 100); used for wireless devices
    CDPI_ChannelLedCount = 10,            // total number of LEDs connected to the channel
    CDPI_ChannelDeviceCount = 11,         // number of LED-devices (fans, strips, etc.) connected to the channel which is controlled by the DIY device
    CDPI_ChannelDeviceLedCountArray = 12, // array of integers, each element describes the number of LEDs controlled by the channel device
    CDPI_ChannelDeviceTypeArray = 13      // array of CorsairChannelDeviceType members, each element describes the type of the channel device
};