HyperX zones per slot, set Hue Plus zones as linear type

This commit is contained in:
Adam Honse committed 2019-12-23 12:35:42 -06:00
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);