Call DeviceUpdateLEDs rather than UpdateLEDs for HyperX keepalive threads
This commit is contained in:
parent
5458692192
commit
bcd49298cd
4 changed files with 4 additions and 4 deletions
|
|
@ -295,7 +295,7 @@ void RGBController_HyperXAlloyOrigins::KeepaliveThread()
|
|||
{
|
||||
if((std::chrono::steady_clock::now() - last_update_time) > std::chrono::milliseconds(50))
|
||||
{
|
||||
UpdateLEDs();
|
||||
DeviceUpdateLEDs();
|
||||
}
|
||||
}
|
||||
std::this_thread::sleep_for(10ms);;
|
||||
|
|
|
|||
|
|
@ -351,7 +351,7 @@ void RGBController_HyperXKeyboard::KeepaliveThreadFunction()
|
|||
{
|
||||
if((std::chrono::steady_clock::now() - last_update_time) > std::chrono::milliseconds(50))
|
||||
{
|
||||
UpdateLEDs();
|
||||
DeviceUpdateLEDs();
|
||||
}
|
||||
}
|
||||
std::this_thread::sleep_for(10ms);;
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ void RGBController_HyperXPulsefireSurge::KeepaliveThread()
|
|||
{
|
||||
if((std::chrono::steady_clock::now() - last_update_time) > std::chrono::milliseconds(50))
|
||||
{
|
||||
UpdateLEDs();
|
||||
DeviceUpdateLEDs();
|
||||
}
|
||||
}
|
||||
std::this_thread::sleep_for(10ms);
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ void RGBController_HyperXMousemat::KeepaliveThread()
|
|||
{
|
||||
if((std::chrono::steady_clock::now() - last_update_time) > std::chrono::milliseconds(50))
|
||||
{
|
||||
UpdateLEDs();
|
||||
DeviceUpdateLEDs();
|
||||
}
|
||||
}
|
||||
std::this_thread::sleep_for(10ms);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue