Razer Chroma SDK  v4.1
Razer Chroma SDK C++ Documentation
ChromaSDK::Mouse Namespace Reference

Mice. More...

Classes

struct  CUSTOM_EFFECT_TYPE2
 Custom effect using virtual grid. More...
 
struct  STATIC_EFFECT_TYPE2
 Static effect type. More...
 

Typedefs

typedef enum ChromaSDK::Mouse::RZLED2 RZLED2
 Mouse LED Id defintion for the virtual grid.
 
typedef enum ChromaSDK::Mouse::EFFECT_TYPE EFFECT_TYPE
 Chroma mouse effect types.
 
typedef struct ChromaSDK::Mouse::STATIC_EFFECT_TYPE2 STATIC_EFFECT_TYPE2
 Static effect type.
 
typedef struct ChromaSDK::Mouse::CUSTOM_EFFECT_TYPE2 CUSTOM_EFFECT_TYPE2
 Custom effect using virtual grid.
 

Enumerations

enum  RZLED2 {
  RZLED2_SCROLLWHEEL = 0x0203 ,
  RZLED2_LOGO = 0x0703 ,
  RZLED2_BACKLIGHT = 0x0403 ,
  RZLED2_LEFT_SIDE1 = 0x0100 ,
  RZLED2_LEFT_SIDE2 = 0x0200 ,
  RZLED2_LEFT_SIDE3 = 0x0300 ,
  RZLED2_LEFT_SIDE4 = 0x0400 ,
  RZLED2_LEFT_SIDE5 = 0x0500 ,
  RZLED2_LEFT_SIDE6 = 0x0600 ,
  RZLED2_LEFT_SIDE7 = 0x0700 ,
  RZLED2_BOTTOM1 = 0x0801 ,
  RZLED2_BOTTOM2 = 0x0802 ,
  RZLED2_BOTTOM3 = 0x0803 ,
  RZLED2_BOTTOM4 = 0x0804 ,
  RZLED2_BOTTOM5 = 0x0805 ,
  RZLED2_RIGHT_SIDE1 = 0x0106 ,
  RZLED2_RIGHT_SIDE2 = 0x0206 ,
  RZLED2_RIGHT_SIDE3 = 0x0306 ,
  RZLED2_RIGHT_SIDE4 = 0x0406 ,
  RZLED2_RIGHT_SIDE5 = 0x0506 ,
  RZLED2_RIGHT_SIDE6 = 0x0606 ,
  RZLED2_RIGHT_SIDE7 = 0x0706
}
 Mouse LED Id defintion for the virtual grid. More...
 
enum  EFFECT_TYPE {
  CHROMA_NONE = 0 ,
  CHROMA_BLINKING ,
  CHROMA_BREATHING ,
  CHROMA_CUSTOM ,
  CHROMA_REACTIVE ,
  CHROMA_SPECTRUMCYCLING ,
  CHROMA_STATIC ,
  CHROMA_WAVE ,
  CHROMA_CUSTOM2 ,
  CHROMA_STATIC2 ,
  CHROMA_INVALID
}
 Chroma mouse effect types. More...
 

Variables

const RZSIZE MAX_LEDS = 30
 Maximum number of custom LEDs (old definition to maintain backward compatibility).
 
const RZCOLOR RZLED_LAYOUT [MAX_LEDS] = {}
 Mice LED layout (old definition to maintain backward compatibility).
 
const RZSIZE MAX_ROW = 9
 Maximum number of rows on a mouse.
 
const RZSIZE MAX_COLUMN = 7
 Maximum number of columns on a mouse.
 
const RZSIZE MAX_LEDS2 = MAX_ROW * MAX_COLUMN
 Maximum number of LEDs.
 
const RZCOLOR RZLED_LAYOUT2 [MAX_ROW][MAX_COLUMN] = {}
 Mice LED layout.
 

Detailed Description

Mice.

Enumeration Type Documentation

◆ EFFECT_TYPE

Chroma mouse effect types.

Enumerator
CHROMA_NONE 

No effect.

CHROMA_STATIC 

Static single color effect (Deprecated and should not be used).

CHROMA_CUSTOM2 

Custom effect type.

CHROMA_STATIC2 

Static single color effect.

CHROMA_INVALID 

Invalid effect.

◆ RZLED2

Mouse LED Id defintion for the virtual grid.

Enumerator
RZLED2_SCROLLWHEEL 

Scroll Wheel LED.

RZLED2_LOGO 

Logo LED.

RZLED2_BACKLIGHT 

Backlight LED.

RZLED2_LEFT_SIDE1 

Left LED 1.

RZLED2_LEFT_SIDE2 

Left LED 2.

RZLED2_LEFT_SIDE3 

Left LED 3.

RZLED2_LEFT_SIDE4 

Left LED 4.

RZLED2_LEFT_SIDE5 

Left LED 5.

RZLED2_LEFT_SIDE6 

Left LED 6.

RZLED2_LEFT_SIDE7 

Left LED 7.

RZLED2_BOTTOM1 

Bottom LED 1.

RZLED2_BOTTOM2 

Bottom LED 2.

RZLED2_BOTTOM3 

Bottom LED 3.

RZLED2_BOTTOM4 

Bottom LED 4.

RZLED2_BOTTOM5 

Bottom LED 5.

RZLED2_RIGHT_SIDE1 

Right LED 1.

RZLED2_RIGHT_SIDE2 

Right LED 2.

RZLED2_RIGHT_SIDE3 

Right LED 3.

RZLED2_RIGHT_SIDE4 

Right LED 4.

RZLED2_RIGHT_SIDE5 

Right LED 5.

RZLED2_RIGHT_SIDE6 

Right LED 6.

RZLED2_RIGHT_SIDE7 

Right LED 7.