mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 23:54:58 -04:00
Add wave mode function parameter for direction
This commit is contained in:
1 parent
b8f044b296
commit
c83ab4bbf6
4 files changed
+29
-27
No files matched your search
@@ -367,9 +367,9 @@ void RazerController::SetModeStatic(unsigned char red, unsigned char grn, unsign
|
||||
razer_set_mode_static(red, grn, blu);
|
||||
}
|
||||
|
||||
void RazerController::SetModeWave()
|
||||
void RazerController::SetModeWave(unsigned char direction)
|
||||
{
|
||||
razer_set_mode_wave();
|
||||
razer_set_mode_wave(direction);
|
||||
}
|
||||
|
||||
bool RazerController::SupportsReactive()
|
||||
@@ -1385,13 +1385,11 @@ void RazerController::razer_set_mode_static(unsigned char red, unsigned char grn
|
||||
}
|
||||
}
|
||||
|
||||
void RazerController::razer_set_mode_wave()
|
||||
void RazerController::razer_set_mode_wave(unsigned char direction)
|
||||
{
|
||||
unsigned char direction = 0x01;
|
||||
|
||||
razer_report report;
|
||||
|
||||
switch(dev_pid)
|
||||
switch(matrix_type)
|
||||
{
|
||||
case RAZER_MATRIX_TYPE_STANDARD:
|
||||
case RAZER_MATRIX_TYPE_LINEAR:
|
||||
|
||||
Reference in new issue
Block a user