Skip to content
Fiercest edited this page Apr 20, 2020 · 3 revisions

All enums contain the static method:

<EnumType> byOrdinal(int ordinal); // Gets the enum value at a certain index.

CorsairAccessMode

CAM_ExclusiveLightingControl;

CorsairChannelDeviceType

CCDT_Invalid,
CCDT_HD_Fan,
CCDT_SP_Fan,
CCDT_LL_Fan,
CCDT_ML_Fan,
CCDT_Strip,
CCDT_DAP,
CCDT_Pump;

CorsairEventId

CEI_Invalid, //Dummy value
CEI_DeviceConnectionStatusChangedEvent,
CEI_KeyEvent;

DeviceCaps

CDC_None,           //Devices that do not support the SDK.
CDC_Lighting,       //Devices that have controlled lighting.
CDC_PropertyLookup; //Devices that provide state through a set of properties.

CorsairError

CE_Success("Success"),
CE_ServerNotFound("Server not found"),
CE_NoControl("No control"),
CE_ProtocolHandshakeMissing("Protocol handshake missing"),
CE_IncompatibleProtocol("Incompatible protocol"),
CE_InvalidArguments("Invalid arguments");

// Method
String getMessage() // Gets the error message.

DeviceCaps

CDC_None, // For devices that do not support any SDK functions
CDC_Lighting; // For devices that has controlled lighting

DeviceType

CDT_Unknown,
CDT_Mouse,
CDT_Keyboard,
CDT_Headset,
CDT_MouseMat,
CDT_HeadsetStand,
CDT_CommanderPro,
CDT_LightingNodePro,
CDT_MemoryModule,
CDT_Cooler;

LogicalLayout

CLL_Invalid
CLL_US_Int,
CLL_NA,
CLL_EU,
CLL_UK,
CLL_BE,
CLL_BR,
CLL_CH,
CLL_CN,
CLL_DE,
CLL_ES,
CLL_FR,
CLL_IT,
CLL_ND,
CLL_RU,
CLL_JP,
CLL_KR,
CLL_TW,
CLL_MEX;

PhysicalLayout

CPL_Invalid,
CPL_US,
CPL_UK,
CPL_BR,
CPL_JP,
CPL_KR,
CPL_Zones1,
CPL_Zones2,
CPL_Zones3,
CPL_Zones4;

LedId

Too many to list.

Prefixes:

  • CLI_Invalid = Unknown
  • CLK_* = Keyboard
  • CLH_* = Headset
  • CLMM_* = MouseMat
  • CLM_* = Mouse
  • CLHSS_* = Headset Stand
  • CLDRAM_* = RAM Modules
  • CLKLP_* = Lighting Node Pro?
  • CLD_* = No Idea?
  • CLI_* = No Idea?
  • CLLC_* = No Idea?

KeyId

CorsairKey_Invalid(0),
CorsairKeyKb_G1(1),
CorsairKeyKb_G2(2),
CorsairKeyKb_G3(3),
CorsairKeyKb_G4(4),
CorsairKeyKb_G5(5),
CorsairKeyKb_G6(6),
CorsairKeyKb_G7(7),
CorsairKeyKb_G8(8),
CorsairKeyKb_G9(9),
CorsairKeyKb_G10(10),
CorsairKeyKb_G11(11),
CorsairKeyKb_G12(12),
CorsairKeyKb_G13(13),
CorsairKeyKb_G14(14),
CorsairKeyKb_G15(15),
CorsairKeyKb_G16(16),
CorsairKeyKb_G17(17),
CorsairKeyKb_G18(18),
CorsairKeyMouse_M1(19),
CorsairKeyMouse_M2(20),
CorsairKeyMouse_M3(21),
CorsairKeyMouse_M4(22),
CorsairKeyMouse_M5(23),
CorsairKeyMouse_M6(24),
CorsairKeyMouse_M7(25),
CorsairKeyMouse_M8(26),
CorsairKeyMouse_M9(27),
CorsairKeyMouse_M10(28),
CorsairKeyMouse_M11(29),
CorsairKeyMouse_M12(30),
CorsairKey_Last(30);

//Method
int getId() // Gets the id of the Key.