Confidential. All Rights Reserved
Confidential. All Rights Reserved
Overview ...............................................................................................................................................................3
3. x86 directory: dynamic link libraries, Lib file and header file................................................................................4
Requirements ........................................................................................................................................................5
Keyboards .........................................................................................................................................................5
Mouse ...............................................................................................................................................................5
Reference ..............................................................................................................................................................6
3. Sample description
3. x86 directory: dynamic link libraries, Lib file and header file
Supported Devices
Keyboards
MasterKeys Pro L with RGB (SGK-6020)
MasterKeys Pro S with RGB (SGK-6030)
MasterKeys Pro L with White (SGK-4070)
MasterKeys Pro M with White (SGK-4080)
Mouse
MasterMouse Pro L (SGM-4006-KFOA1)
struct KEY_COLOR {
BYTE r;
BYTE g;
BYTE b;
};
enum EFF_INDEX {
Description: set/store entire LED Color structure Special effects list
EFF_FULL_ON = 0, EFF_BREATH = 1,
EFF_BREATH_CYCLE = 2 , EFF_SINGLE = 3,
EFF_WAVE = 4, EFF_RIPPLE = 5,
EFF_CROSS = 6, EFF_RAIN = 7,
EFF_STAR = 8, EFF_SNAKE = 9,
EFF_REC = 10, EFF_MULTI_1 = 0xE0,
EFF_MULTI_2 = 0xE1, EFF_MULTI_3 =
0xE2, EFF_MULTI_4 = 0xE3, EFF_OFF = 0xFE};
LONG GetNowCPUUsage()
Description: obtain current CPU usuage ratio
Function name: GetNowCPUUsage
variable :
returns : LONG : 0 ~ 100 integer
note :
float GetNowVolumePeekValue()
Description: Obtain current volume
Function name : GetNowVolumePeekValue
variable :
returns : float : 0 ~ 1 float number
note :
bool IsDevicePlug()
Description: verify if the deviced is plugged in
Function name : IsDevicePlug
variable :
note :
10
11
note :
note :
12
note :
13
Examples UI screen
14
1. System Information: for the user's computer to fetch the local system time, CPU
usage, memory usage percentage, the current playback volume percentage.
2. Select Device: to select the device that you want to control, the default option is
MasterKeys Pro L.
3. LED Control: can choose from enable and disable, in the disable state can switch
effects; in the enable state can setup the keyboard LED color
4. Set LED Color for every Key: is allowed to set different colors of each key, there are
two ways to set up. One is to set a single Key; the other one is to set all keys on the
keyboard to specified / different color. Please use the drop-down menu and select
Row Column with "CoolerMaster LED Table.xls" table to determine the location
specified color.
5. Set All Led: set the whole keyboard as a single color quickly.
15