mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-04 14:14:17 -04:00
Implement matrix type field for Razer controllers to reduce redundant code
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -87,6 +87,18 @@ enum
|
||||
RAZER_LED_ID_ARGB_CH_6 = 0x1F,
|
||||
};
|
||||
|
||||
/*---------------------------------------------------------*\
|
||||
| Razer Matrix Type |
|
||||
\*---------------------------------------------------------*/
|
||||
enum
|
||||
{
|
||||
RAZER_MATRIX_TYPE_STANDARD = 0,
|
||||
RAZER_MATRIX_TYPE_EXTENDED = 1,
|
||||
RAZER_MATRIX_TYPE_LINEAR = 2,
|
||||
RAZER_MATRIX_TYPE_EXTENDED_ARGB = 3,
|
||||
RAZER_MATRIX_TYPE_CUSTOM = 4,
|
||||
};
|
||||
|
||||
/*---------------------------------------------------------*\
|
||||
| Razer Report Type (taken from OpenRazer) |
|
||||
\*---------------------------------------------------------*/
|
||||
@@ -197,6 +209,11 @@ private:
|
||||
unsigned char report_index;
|
||||
unsigned char response_index;
|
||||
|
||||
/*---------------------------------------------------------*\
|
||||
| Matrix type |
|
||||
\*---------------------------------------------------------*/
|
||||
unsigned char matrix_type;
|
||||
|
||||
/*---------------------------------------------------------*\
|
||||
| Private functions based on OpenRazer |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user