Confidential. All Rights Reserved
Confidential. All Rights Reserved
Overview ............................................................................................................................................................................. 3
2. x86 directory: dynamic link libraries, Lib file and header file ......................................................................................... 4
Requirements ..................................................................................................................................................................... 5
Reference ............................................................................................................................................................................ 6
TCHAR * GetNowTime().............................................................................................................................................. 8
bool SetLedColor(int iRow, int iColumn, BYTE r, BYTE g, BYTE b, DEVICE_INDEX devIndex = DEV_DEFAULT ) ....... 14
typedef void (CALLBACK * KEY_CALLBACK)(int iRow, int iColumn, bool bPressed); ................................................ 16
3. Sample description
2. x86 directory: dynamic link libraries, Lib file and header file
Supported Devices
Device Keyboard Mouse Headset Accessory
MasterKeys Pro L MasterMouse Pro L
MasterKeys Pro M MasterMouse Pro S
MasterKeys Pro S MM520
MasterKeys Pro L White MM530
MasterKeys Pro M White
MasterKeys Pro S White
MK750
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_INDICATOR = 13
EFF_MULTI_1 = 0xE0,
EFF_MULTI_2 = 0xE1, EFF_MULTI_3 = 0xE2,
EFF_MULTI_4 = 0xE3, EFF_OFF = 0xFE};
float GetNowVolumePeekValue()
Description: Obtain current volume
Function name : GetNowVolumePeekValue
variable :
returns : float : 0 ~ 1 float number
note :
10
note :
11
12
DEV_DEFAULT)
note :
DEV_DEFAULT )
note :
13
DEV_DEFAULT )
devIndex = DEV_DEFAULT )
14
DEV_DEFAULT);
15
bPressed);
Description: User could setup the callback function. It will return the status of button’s
position when the button status change.
16
Examples UI screen
17
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.
6. Set the Key effect : if it enable and the button status change, the Led of key will light.
18