C# Class CUE.NET.Native._CUESDK

Datei anzeigen Open project: DarthAffe/CUE.NET

Private Properties

Property Type Description
CorsairGetDeviceCount int
CorsairGetDeviceInfo System.IntPtr
CorsairGetLastError CorsairError
CorsairGetLedIdForKeyName CorsairLedId
CorsairGetLedPositions System.IntPtr
CorsairGetLedPositionsByDeviceIndex System.IntPtr
CorsairPerformProtocolHandshake CUE.NET.Native._CorsairProtocolDetails
CorsairReleaseControl bool
CorsairRequestControl bool
CorsairSetLedsColors bool
FreeLibrary bool
GetProcAddress System.IntPtr
LoadCUESDK void
LoadLibrary System.IntPtr
Reload void
UnloadCUESDK void
_CUESDK System

Private Methods

Method Description
CorsairGetDeviceCount ( ) : int

CUE-SDK: returns number of connected Corsair devices that support lighting control.

CorsairGetDeviceInfo ( int deviceIndex ) : IntPtr

CUE-SDK: returns information about device at provided index.

CorsairGetLastError ( ) : CorsairError

CUE-SDK: returns last error that occured while using any of Corsair* functions.

CorsairGetLedIdForKeyName ( char keyName ) : CorsairLedId

CUE-SDK: retrieves led id for key name taking logical layout into account.

CorsairGetLedPositions ( ) : IntPtr

CUE-SDK: provides list of keyboard LEDs with their physical positions.

CorsairGetLedPositionsByDeviceIndex ( int deviceIndex ) : IntPtr

CUE-SDK: provides list of keyboard or mousemat LEDs with their physical positions.

CorsairPerformProtocolHandshake ( ) : CUE.NET.Native._CorsairProtocolDetails

CUE-SDK: checks file and protocol version of CUE to understand which of SDK functions can be used with this version of CUE.

CorsairReleaseControl ( CorsairAccessMode accessMode ) : bool

CUE-SDK: releases previously requested control for specified access mode.

CorsairRequestControl ( CorsairAccessMode accessMode ) : bool

CUE-SDK: requestes control using specified access mode. By default client has shared control over lighting so there is no need to call CorsairRequestControl unless client requires exclusive control.

CorsairSetLedsColors ( int size, IntPtr ledsColors ) : bool

CUE-SDK: set specified leds to some colors. The color is retained until changed by successive calls. This function does not take logical layout into account.

FreeLibrary ( IntPtr dllHandle ) : bool
GetProcAddress ( IntPtr dllHandle, string name ) : IntPtr
LoadCUESDK ( ) : void
LoadLibrary ( string dllToLoad ) : IntPtr
Reload ( ) : void

Reloads the SDK.

UnloadCUESDK ( ) : void
_CUESDK ( ) : System