mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-21 16:15:13 -04:00
HyperX zones per slot, set Hue Plus zones as linear type
This commit is contained in:
1 parent
e799574730
commit
f76bf34d8d
4 files changed
+50
-21
No files matched your search
@@ -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