mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-08 07:57:35 -04:00
HyperX zones per slot, set Hue Plus zones as linear type
This commit is contained in:
@@ -56,6 +56,21 @@ unsigned int HyperXController::GetLEDCount()
|
||||
return(led_count);
|
||||
}
|
||||
|
||||
unsigned int HyperXController::GetSlotCount()
|
||||
{
|
||||
unsigned int slot_count = 0;
|
||||
|
||||
for(int slot = 0; slot < 4; slot++)
|
||||
{
|
||||
if((slots_valid & (1 << slot)) != 0)
|
||||
{
|
||||
slot_count++;
|
||||
}
|
||||
}
|
||||
|
||||
return(slot_count);
|
||||
}
|
||||
|
||||
unsigned int HyperXController::GetMode()
|
||||
{
|
||||
return(mode);
|
||||
|
||||
Reference in New Issue
Block a user