Expand description
Raw FFI bindings for the Corsair iCUE SDK v4.0.84.
Generated by bindgen and post-processed per the README instructions.
See the iCUE SDK repository for documentation.
Structs§
- Corsair
Data Type_ Boolean Array - Corsair
Data Type_ Float64 Array - Corsair
Data Type_ Int32 Array - Corsair
Data Type_ String Array - Corsair
Device Connection Status Changed Event - Corsair
Device Filter - Corsair
Device Info - Corsair
Event - Corsair
KeyEvent - Corsair
KeyEvent Configuration - Corsair
LedColor - Corsair
LedPosition - Corsair
Property - Corsair
Session Details - Corsair
Session State Changed - Corsair
Version
Constants§
- CORSAIR_
DEVICE_ COUNT_ MAX - CORSAIR_
DEVICE_ LEDCOUNT_ MAX - CORSAIR_
LAYER_ PRIORITY_ MAX - CORSAIR_
STRING_ SIZE_ M - CORSAIR_
STRING_ SIZE_ S - Corsair
Access Level_ CAL_ Exclusive KeyEvents Listening - Corsair
Access Level_ CAL_ Exclusive Lighting Control - Corsair
Access Level_ CAL_ Exclusive Lighting Control AndKey Events Listening - Corsair
Access Level_ CAL_ Shared - Corsair
Channel Device Type_ CCDT_ 8Led Series Fan - Corsair
Channel Device Type_ CCDT_ DAP - Corsair
Channel Device Type_ CCDT_ DRAM - Corsair
Channel Device Type_ CCDT_ HD_ Fan - Corsair
Channel Device Type_ CCDT_ Invalid - Corsair
Channel Device Type_ CCDT_ LL_ Fan - Corsair
Channel Device Type_ CCDT_ ML_ Fan - Corsair
Channel Device Type_ CCDT_ Pump - Corsair
Channel Device Type_ CCDT_ QL_ Fan - Corsair
Channel Device Type_ CCDT_ QX_ Fan - Corsair
Channel Device Type_ CCDT_ SP_ Fan - Corsair
Channel Device Type_ CCDT_ Strip - Corsair
Channel Device Type_ CCDT_ Water Block - Corsair
Data Type_ CT_ Boolean - Corsair
Data Type_ CT_ Boolean_ Array - Corsair
Data Type_ CT_ Float64 - Corsair
Data Type_ CT_ Float64_ Array - Corsair
Data Type_ CT_ Int32 - Corsair
Data Type_ CT_ Int32_ Array - Corsair
Data Type_ CT_ String - Corsair
Data Type_ CT_ String_ Array - Corsair
Device Property Id_ CDPI_ Battery Level - Corsair
Device Property Id_ CDPI_ Channel Device Count - Corsair
Device Property Id_ CDPI_ Channel Device LedCount Array - Corsair
Device Property Id_ CDPI_ Channel Device Type Array - Corsair
Device Property Id_ CDPI_ Channel LedCount - Corsair
Device Property Id_ CDPI_ Equalizer Preset - Corsair
Device Property Id_ CDPI_ Invalid - Corsair
Device Property Id_ CDPI_ Logical Layout - Corsair
Device Property Id_ CDPI_ Macro KeyArray - Corsair
Device Property Id_ CDPI_ MicEnabled - Corsair
Device Property Id_ CDPI_ Physical Layout - Corsair
Device Property Id_ CDPI_ Property Array - Corsair
Device Property Id_ CDPI_ Sidetone Enabled - Corsair
Device Property Id_ CDPI_ Surround Sound Enabled - Corsair
Device Type_ CDT_ All - Corsair
Device Type_ CDT_ Cooler - Corsair
Device Type_ CDT_ FanLed Controller - Corsair
Device Type_ CDT_ Game Controller - Corsair
Device Type_ CDT_ Graphics Card - Corsair
Device Type_ CDT_ Headset - Corsair
Device Type_ CDT_ Headset Stand - Corsair
Device Type_ CDT_ Keyboard - Corsair
Device Type_ CDT_ LedController - Corsair
Device Type_ CDT_ Memory Module - Corsair
Device Type_ CDT_ Motherboard - Corsair
Device Type_ CDT_ Mouse - Corsair
Device Type_ CDT_ Mousemat - Corsair
Device Type_ CDT_ Touchbar - Corsair
Device Type_ CDT_ Unknown - Corsair
Error_ CE_ Device NotFound - Corsair
Error_ CE_ Incompatible Protocol - Corsair
Error_ CE_ Invalid Arguments - Corsair
Error_ CE_ Invalid Operation - Corsair
Error_ CE_ NoControl - Corsair
Error_ CE_ NotAllowed - Corsair
Error_ CE_ NotConnected - Corsair
Error_ CE_ Success - Corsair
Event Id_ CEI_ Device Connection Status Changed Event - Corsair
Event Id_ CEI_ Invalid - Corsair
Event Id_ CEI_ KeyEvent - Corsair
LedGroup_ CLG_ DIY_ Channel1 - Corsair
LedGroup_ CLG_ DIY_ Channel2 - Corsair
LedGroup_ CLG_ DIY_ Channel3 - Corsair
LedGroup_ CLG_ Game Controller - Corsair
LedGroup_ CLG_ Graphics Card - Corsair
LedGroup_ CLG_ Headset - Corsair
LedGroup_ CLG_ Headset Stand - Corsair
LedGroup_ CLG_ Keyboard - Corsair
LedGroup_ CLG_ Keyboard Edge - Corsair
LedGroup_ CLG_ KeyboardG Keys - Corsair
LedGroup_ CLG_ Keyboard Oem - Corsair
LedGroup_ CLG_ Memory Module - Corsair
LedGroup_ CLG_ Motherboard - Corsair
LedGroup_ CLG_ Mouse - Corsair
LedGroup_ CLG_ Mousemat - Corsair
LedGroup_ CLG_ Touchbar - Corsair
LedId_ Keyboard_ CLK_ 0 - Corsair
LedId_ Keyboard_ CLK_ 1 - Corsair
LedId_ Keyboard_ CLK_ 2 - Corsair
LedId_ Keyboard_ CLK_ 3 - Corsair
LedId_ Keyboard_ CLK_ 4 - Corsair
LedId_ Keyboard_ CLK_ 5 - Corsair
LedId_ Keyboard_ CLK_ 6 - Corsair
LedId_ Keyboard_ CLK_ 7 - Corsair
LedId_ Keyboard_ CLK_ 8 - Corsair
LedId_ Keyboard_ CLK_ 9 - Corsair
LedId_ Keyboard_ CLK_ A - Corsair
LedId_ Keyboard_ CLK_ Apostrophe AndDouble Quote - Corsair
LedId_ Keyboard_ CLK_ Application - Corsair
LedId_ Keyboard_ CLK_ B - Corsair
LedId_ Keyboard_ CLK_ Backslash - Corsair
LedId_ Keyboard_ CLK_ Backspace - Corsair
LedId_ Keyboard_ CLK_ Bracket Left - Corsair
LedId_ Keyboard_ CLK_ Bracket Right - Corsair
LedId_ Keyboard_ CLK_ Brightness - Corsair
LedId_ Keyboard_ CLK_ C - Corsair
LedId_ Keyboard_ CLK_ Caps Lock - Corsair
LedId_ Keyboard_ CLK_ Comma AndLess Than - Corsair
LedId_ Keyboard_ CLK_ D - Corsair
LedId_ Keyboard_ CLK_ Delete - Corsair
LedId_ Keyboard_ CLK_ Down Arrow - Corsair
LedId_ Keyboard_ CLK_ E - Corsair
LedId_ Keyboard_ CLK_ End - Corsair
LedId_ Keyboard_ CLK_ Enter - Corsair
LedId_ Keyboard_ CLK_ Equals AndPlus - Corsair
LedId_ Keyboard_ CLK_ Escape - Corsair
LedId_ Keyboard_ CLK_ F - Corsair
LedId_ Keyboard_ CLK_ F1 - Corsair
LedId_ Keyboard_ CLK_ F2 - Corsair
LedId_ Keyboard_ CLK_ F3 - Corsair
LedId_ Keyboard_ CLK_ F4 - Corsair
LedId_ Keyboard_ CLK_ F5 - Corsair
LedId_ Keyboard_ CLK_ F6 - Corsair
LedId_ Keyboard_ CLK_ F7 - Corsair
LedId_ Keyboard_ CLK_ F8 - Corsair
LedId_ Keyboard_ CLK_ F9 - Corsair
LedId_ Keyboard_ CLK_ F10 - Corsair
LedId_ Keyboard_ CLK_ F11 - Corsair
LedId_ Keyboard_ CLK_ F12 - Corsair
LedId_ Keyboard_ CLK_ Fn - Corsair
LedId_ Keyboard_ CLK_ G - Corsair
LedId_ Keyboard_ CLK_ Grave Accent AndTilde - Corsair
LedId_ Keyboard_ CLK_ H - Corsair
LedId_ Keyboard_ CLK_ Home - Corsair
LedId_ Keyboard_ CLK_ I - Corsair
LedId_ Keyboard_ CLK_ Insert - Corsair
LedId_ Keyboard_ CLK_ International1 - Corsair
LedId_ Keyboard_ CLK_ International2 - Corsair
LedId_ Keyboard_ CLK_ International3 - Corsair
LedId_ Keyboard_ CLK_ International4 - Corsair
LedId_ Keyboard_ CLK_ International5 - Corsair
LedId_ Keyboard_ CLK_ Invalid - Corsair
LedId_ Keyboard_ CLK_ J - Corsair
LedId_ Keyboard_ CLK_ K - Corsair
LedId_ Keyboard_ CLK_ Keypad0 - Corsair
LedId_ Keyboard_ CLK_ Keypad1 - Corsair
LedId_ Keyboard_ CLK_ Keypad2 - Corsair
LedId_ Keyboard_ CLK_ Keypad3 - Corsair
LedId_ Keyboard_ CLK_ Keypad4 - Corsair
LedId_ Keyboard_ CLK_ Keypad5 - Corsair
LedId_ Keyboard_ CLK_ Keypad6 - Corsair
LedId_ Keyboard_ CLK_ Keypad7 - Corsair
LedId_ Keyboard_ CLK_ Keypad8 - Corsair
LedId_ Keyboard_ CLK_ Keypad9 - Corsair
LedId_ Keyboard_ CLK_ Keypad Asterisk - Corsair
LedId_ Keyboard_ CLK_ Keypad Comma - Corsair
LedId_ Keyboard_ CLK_ Keypad Enter - Corsair
LedId_ Keyboard_ CLK_ Keypad Minus - Corsair
LedId_ Keyboard_ CLK_ Keypad Period AndDelete - Corsair
LedId_ Keyboard_ CLK_ Keypad Plus - Corsair
LedId_ Keyboard_ CLK_ Keypad Slash - Corsair
LedId_ Keyboard_ CLK_ L - Corsair
LedId_ Keyboard_ CLK_ Lang1 - Corsair
LedId_ Keyboard_ CLK_ Lang2 - Corsair
LedId_ Keyboard_ CLK_ LedProgramming - Corsair
LedId_ Keyboard_ CLK_ Left Alt - Corsair
LedId_ Keyboard_ CLK_ Left Arrow - Corsair
LedId_ Keyboard_ CLK_ Left Ctrl - Corsair
LedId_ Keyboard_ CLK_ Left Gui - Corsair
LedId_ Keyboard_ CLK_ Left Shift - Corsair
LedId_ Keyboard_ CLK_ M - Corsair
LedId_ Keyboard_ CLK_ M1 - Corsair
LedId_ Keyboard_ CLK_ M2 - Corsair
LedId_ Keyboard_ CLK_ M3 - Corsair
LedId_ Keyboard_ CLK_ MR - Corsair
LedId_ Keyboard_ CLK_ Minus AndUnderscore - Corsair
LedId_ Keyboard_ CLK_ Mute - Corsair
LedId_ Keyboard_ CLK_ N - Corsair
LedId_ Keyboard_ CLK_ NonUs Backslash - Corsair
LedId_ Keyboard_ CLK_ NonUs Tilde - Corsair
LedId_ Keyboard_ CLK_ NumLock - Corsair
LedId_ Keyboard_ CLK_ O - Corsair
LedId_ Keyboard_ CLK_ P - Corsair
LedId_ Keyboard_ CLK_ Page Down - Corsair
LedId_ Keyboard_ CLK_ Page Up - Corsair
LedId_ Keyboard_ CLK_ Pause Break - Corsair
LedId_ Keyboard_ CLK_ Period AndBigger Than - Corsair
LedId_ Keyboard_ CLK_ Play Pause - Corsair
LedId_ Keyboard_ CLK_ Print Screen - Corsair
LedId_ Keyboard_ CLK_ Q - Corsair
LedId_ Keyboard_ CLK_ R - Corsair
LedId_ Keyboard_ CLK_ Right Alt - Corsair
LedId_ Keyboard_ CLK_ Right Arrow - Corsair
LedId_ Keyboard_ CLK_ Right Ctrl - Corsair
LedId_ Keyboard_ CLK_ Right Gui - Corsair
LedId_ Keyboard_ CLK_ Right Shift - Corsair
LedId_ Keyboard_ CLK_ S - Corsair
LedId_ Keyboard_ CLK_ Scan Next Track - Corsair
LedId_ Keyboard_ CLK_ Scan Previous Track - Corsair
LedId_ Keyboard_ CLK_ Scroll Lock - Corsair
LedId_ Keyboard_ CLK_ Semicolon AndColon - Corsair
LedId_ Keyboard_ CLK_ Slash AndQuestion Mark - Corsair
LedId_ Keyboard_ CLK_ Space - Corsair
LedId_ Keyboard_ CLK_ Stop - Corsair
LedId_ Keyboard_ CLK_ T - Corsair
LedId_ Keyboard_ CLK_ Tab - Corsair
LedId_ Keyboard_ CLK_ U - Corsair
LedId_ Keyboard_ CLK_ UpArrow - Corsair
LedId_ Keyboard_ CLK_ V - Corsair
LedId_ Keyboard_ CLK_ Volume Down - Corsair
LedId_ Keyboard_ CLK_ Volume Up - Corsair
LedId_ Keyboard_ CLK_ W - Corsair
LedId_ Keyboard_ CLK_ WinLock - Corsair
LedId_ Keyboard_ CLK_ X - Corsair
LedId_ Keyboard_ CLK_ Y - Corsair
LedId_ Keyboard_ CLK_ Z - Corsair
Logical Layout_ CLL_ BE - Corsair
Logical Layout_ CLL_ BR - Corsair
Logical Layout_ CLL_ CH - Corsair
Logical Layout_ CLL_ CN - Corsair
Logical Layout_ CLL_ DE - Corsair
Logical Layout_ CLL_ ES - Corsair
Logical Layout_ CLL_ EU - Corsair
Logical Layout_ CLL_ FR - Corsair
Logical Layout_ CLL_ IT - Corsair
Logical Layout_ CLL_ Invalid - Corsair
Logical Layout_ CLL_ JP - Corsair
Logical Layout_ CLL_ KR - Corsair
Logical Layout_ CLL_ MEX - Corsair
Logical Layout_ CLL_ NA - Corsair
Logical Layout_ CLL_ ND - Corsair
Logical Layout_ CLL_ RU - Corsair
Logical Layout_ CLL_ TW - Corsair
Logical Layout_ CLL_ UK - Corsair
Logical Layout_ CLL_ US_ Int - Corsair
Macro KeyId_ CMKI_ 1 - Corsair
Macro KeyId_ CMKI_ 2 - Corsair
Macro KeyId_ CMKI_ 3 - Corsair
Macro KeyId_ CMKI_ 4 - Corsair
Macro KeyId_ CMKI_ 5 - Corsair
Macro KeyId_ CMKI_ 6 - Corsair
Macro KeyId_ CMKI_ 7 - Corsair
Macro KeyId_ CMKI_ 8 - Corsair
Macro KeyId_ CMKI_ 9 - Corsair
Macro KeyId_ CMKI_ 10 - Corsair
Macro KeyId_ CMKI_ 11 - Corsair
Macro KeyId_ CMKI_ 12 - Corsair
Macro KeyId_ CMKI_ 13 - Corsair
Macro KeyId_ CMKI_ 14 - Corsair
Macro KeyId_ CMKI_ 15 - Corsair
Macro KeyId_ CMKI_ 16 - Corsair
Macro KeyId_ CMKI_ 17 - Corsair
Macro KeyId_ CMKI_ 18 - Corsair
Macro KeyId_ CMKI_ 19 - Corsair
Macro KeyId_ CMKI_ 20 - Corsair
Macro KeyId_ CMKI_ Invalid - Corsair
Physical Layout_ CPL_ BR - Corsair
Physical Layout_ CPL_ Invalid - Corsair
Physical Layout_ CPL_ JP - Corsair
Physical Layout_ CPL_ KR - Corsair
Physical Layout_ CPL_ UK - Corsair
Physical Layout_ CPL_ US - Corsair
Property Flag_ CPF_ CanRead - Corsair
Property Flag_ CPF_ CanWrite - Corsair
Property Flag_ CPF_ Indexed - Corsair
Property Flag_ CPF_ None - Corsair
Session State_ CSS_ Closed - Corsair
Session State_ CSS_ Connected - Corsair
Session State_ CSS_ Connecting - Corsair
Session State_ CSS_ Connection Lost - Corsair
Session State_ CSS_ Connection Refused - Corsair
Session State_ CSS_ Invalid - Corsair
Session State_ CSS_ Timeout
Functions§
- Corsair
Configure ⚠KeyEvent - Corsair
Connect ⚠ - Corsair
Disconnect ⚠ - Corsair
Free ⚠Property - Corsair
GetDevice ⚠Info - Corsair
GetDevice ⚠Property Info - Corsair
GetDevices ⚠ - Corsair
GetLed ⚠Colors - Corsair
GetLed ⚠Luid ForKey Name - Corsair
GetLed ⚠Positions - Corsair
GetSession ⚠Details - Corsair
Read ⚠Device Property - Corsair
Release ⚠Control - Corsair
Request ⚠Control - Corsair
SetLayer ⚠Priority - Corsair
SetLed ⚠Colors - Corsair
SetLed ⚠Colors Buffer - Corsair
SetLed ⚠Colors Flush Buffer Async - Corsair
Subscribe ⚠ForEvents - Corsair
Unsubscribe ⚠From Events - Corsair
Write ⚠Device Property
Type Aliases§
- Corsair
Access Level - Corsair
Async Callback - Corsair
Channel Device Type - Corsair
Data Type - Corsair
Device Id - Corsair
Device Property Id - Corsair
Device Type - Corsair
Error - Corsair
Event Handler - Corsair
Event Id - Corsair
LedGroup - Corsair
LedId_ Keyboard - Corsair
LedLuid - Corsair
Logical Layout - Corsair
Macro KeyId - Corsair
Physical Layout - Corsair
Property Flag - Corsair
Session State - Corsair
Session State Changed Handler