mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-30 18:54:00 -04:00
Add Speed control to ENE SMBus (ASUS Aura SMBus) effect modes
This commit is contained in:
@@ -253,9 +253,10 @@ void ENESMBusController::SetLEDColorEffect(unsigned int led, unsigned char red,
|
||||
ENERegisterWrite(ENE_REG_APPLY, ENE_APPLY_VAL);
|
||||
}
|
||||
|
||||
void ENESMBusController::SetMode(unsigned char mode)
|
||||
void ENESMBusController::SetMode(unsigned char mode, unsigned char speed)
|
||||
{
|
||||
ENERegisterWrite(ENE_REG_MODE, mode);
|
||||
ENERegisterWrite(ENE_REG_SPEED, speed);
|
||||
ENERegisterWrite(ENE_REG_APPLY, ENE_APPLY_VAL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user