diff --git a/Controllers/LogitechController/LogitechG203Controller.cpp b/Controllers/LogitechController/LogitechG203Controller.cpp index b58efb4a..e9eb3240 100644 --- a/Controllers/LogitechController/LogitechG203Controller.cpp +++ b/Controllers/LogitechController/LogitechG203Controller.cpp @@ -60,15 +60,15 @@ void LogitechG203Controller::SendMouseMode speed = 100 * speed; if(mode == LOGITECH_G203_MODE_CYCLE) { - usb_buf[0x0B] = speed >> 8; - usb_buf[0x0C] = speed & 0xFF; - usb_buf[0x0D] = 0x64; + usb_buf[0x0B] = speed >> 8; + usb_buf[0x0C] = speed & 0xFF; + usb_buf[0x0D] = 0x64; } else if(mode == LOGITECH_G203_MODE_BREATHING) { - usb_buf[0x09] = speed >> 8; - usb_buf[0x0A] = speed & 0xFF; - usb_buf[0x0C] = 0x64; + usb_buf[0x09] = speed >> 8; + usb_buf[0x0A] = speed & 0xFF; + usb_buf[0x0C] = 0x64; } /*-----------------------------------------------------*\ diff --git a/Controllers/LogitechController/LogitechG203Controller.h b/Controllers/LogitechController/LogitechG203Controller.h index b53a90c6..c9ec7c02 100644 --- a/Controllers/LogitechController/LogitechG203Controller.h +++ b/Controllers/LogitechController/LogitechG203Controller.h @@ -24,7 +24,7 @@ enum /*---------------------------------------------------------------------------------------------*\ | Speed is 1000 for fast and 20000 for slow. | -| Values are mutipled by 100 later to give lots of GUI steps. | +| Values are multiplied by 100 later to give lots of GUI steps. | \*---------------------------------------------------------------------------------------------*/ enum { diff --git a/Controllers/LogitechController/LogitechG403Controller.cpp b/Controllers/LogitechController/LogitechG403Controller.cpp index 6e6555b9..c90db2d0 100644 --- a/Controllers/LogitechController/LogitechG403Controller.cpp +++ b/Controllers/LogitechController/LogitechG403Controller.cpp @@ -62,15 +62,15 @@ void LogitechG403Controller::SendMouseMode speed = 100 * speed; if(mode == LOGITECH_G403_MODE_CYCLE) { - usb_buf[0x0B] = speed >> 8; - usb_buf[0x0C] = speed & 0xFF; - usb_buf[0x0D] = 0x64; + usb_buf[0x0B] = speed >> 8; + usb_buf[0x0C] = speed & 0xFF; + usb_buf[0x0D] = 0x64; } else if(mode == LOGITECH_G403_MODE_BREATHING) { - usb_buf[0x09] = speed >> 8; - usb_buf[0x0A] = speed & 0xFF; - usb_buf[0x0C] = 0x64; + usb_buf[0x09] = speed >> 8; + usb_buf[0x0A] = speed & 0xFF; + usb_buf[0x0C] = 0x64; } /*-----------------------------------------------------*\ diff --git a/Controllers/LogitechController/LogitechG403Controller.h b/Controllers/LogitechController/LogitechG403Controller.h index fe9d896d..b9ad6512 100644 --- a/Controllers/LogitechController/LogitechG403Controller.h +++ b/Controllers/LogitechController/LogitechG403Controller.h @@ -24,7 +24,7 @@ enum /*---------------------------------------------------------------------------------------------*\ | Speed is 1000 for fast and 20000 for slow. | -| Values are mutipled by 100 later to give lots of GUI steps. | +| Values are multiplied by 100 later to give lots of GUI steps. | \*---------------------------------------------------------------------------------------------*/ enum { diff --git a/Controllers/LogitechController/LogitechG502PSController.cpp b/Controllers/LogitechController/LogitechG502PSController.cpp index 2283ca2b..5829ec1f 100644 --- a/Controllers/LogitechController/LogitechG502PSController.cpp +++ b/Controllers/LogitechController/LogitechG502PSController.cpp @@ -62,17 +62,17 @@ void LogitechG502PSController::SendMouseMode speed = 100 * speed; if(mode == LOGITECH_G502_PS_MODE_CYCLE) { - usb_buf[0x0B] = speed >> 8; - usb_buf[0x0C] = speed & 0xFF; - usb_buf[0x0D] = 0x64; + usb_buf[0x0B] = speed >> 8; + usb_buf[0x0C] = speed & 0xFF; + usb_buf[0x0D] = 0x64; } else if(mode == LOGITECH_G502_PS_MODE_BREATHING) { - usb_buf[0x09] = speed >> 8; - usb_buf[0x0A] = speed & 0xFF; - usb_buf[0x0C] = 0x64; + usb_buf[0x09] = speed >> 8; + usb_buf[0x0A] = speed & 0xFF; + usb_buf[0x0C] = 0x64; }else if(mode == LOGITECH_G502_PS_MODE_STATIC){ - usb_buf[0x09] = 0x02; + usb_buf[0x09] = 0x02; } /*-----------------------------------------------------*\ diff --git a/Controllers/LogitechController/LogitechG502PSController.h b/Controllers/LogitechController/LogitechG502PSController.h index c67acdef..839ba07d 100644 --- a/Controllers/LogitechController/LogitechG502PSController.h +++ b/Controllers/LogitechController/LogitechG502PSController.h @@ -25,7 +25,7 @@ enum /*---------------------------------------------------------------------------------------------*\ | Speed is 1000 for fast and 20000 for slow. | -| Values are mutipled by 100 later to give lots of GUI steps. | +| Values are multiplied by 100 later to give lots of GUI steps. | \*---------------------------------------------------------------------------------------------*/ enum { diff --git a/Controllers/LogitechController/LogitechG810Controller.cpp b/Controllers/LogitechController/LogitechG810Controller.cpp index 090b4235..b910854f 100644 --- a/Controllers/LogitechController/LogitechG810Controller.cpp +++ b/Controllers/LogitechController/LogitechG810Controller.cpp @@ -147,18 +147,18 @@ void LogitechG810Controller::SendMode usb_buf[0x07] = green; usb_buf[0x08] = blue; - speed = 1000 + 4750 * (LOGITECH_G810_SPEED_FASTEST - speed); + speed = 100 * speed; if(mode == LOGITECH_G810_MODE_CYCLE) { - usb_buf[0x0B] = speed >> 8; - usb_buf[0x0C] = speed & 0xFF; - usb_buf[0x0D] = 0x64; + usb_buf[0x0B] = speed >> 8; + usb_buf[0x0C] = speed & 0xFF; + usb_buf[0x0D] = 0x64; } else if(mode == LOGITECH_G810_MODE_BREATHING) { - usb_buf[0x09] = speed >> 8; - usb_buf[0x0A] = speed & 0xFF; - usb_buf[0x0C] = 0x64; + usb_buf[0x09] = speed >> 8; + usb_buf[0x0A] = speed & 0xFF; + usb_buf[0x0C] = 0x64; } /*-----------------------------------------------------*\ diff --git a/Controllers/LogitechController/LogitechG810Controller.h b/Controllers/LogitechController/LogitechG810Controller.h index bce4e27e..60b571d0 100644 --- a/Controllers/LogitechController/LogitechG810Controller.h +++ b/Controllers/LogitechController/LogitechG810Controller.h @@ -37,13 +37,15 @@ enum LOGITECH_G810_MODE_WAVE = 0x04, }; +/*---------------------------------------------------------------------------------------------*\ +| Speed is 1000 for fast and 20000 for slow. | +| Values are multiplied by 100 later to give lots of GUI steps. | +\*---------------------------------------------------------------------------------------------*/ enum { - LOGITECH_G810_SPEED_SLOWEST = 0x00, /* Slowest speed */ - LOGITECH_G810_SPEED_SLOW = 0x01, /* Slow speed */ - LOGITECH_G810_SPEED_NORMAL = 0x02, /* Normal speed */ - LOGITECH_G810_SPEED_FAST = 0x03, /* Fast speed */ - LOGITECH_G810_SPEED_FASTEST = 0x04, /* Fastest speed */ + LOGITECH_G810_SPEED_SLOWEST = 0xC8, /* Slowest speed */ + LOGITECH_G810_SPEED_NORMAL = 0x32, /* Normal speed */ + LOGITECH_G810_SPEED_FASTEST = 0x0A, /* Fastest speed */ }; class LogitechG810Controller diff --git a/Controllers/LogitechController/LogitechGPowerPlayController.cpp b/Controllers/LogitechController/LogitechGPowerPlayController.cpp index a6c756a2..a8872c00 100644 --- a/Controllers/LogitechController/LogitechGPowerPlayController.cpp +++ b/Controllers/LogitechController/LogitechGPowerPlayController.cpp @@ -67,17 +67,17 @@ void LogitechGPowerPlayController::SendMouseMatMode } if(mode == LOGITECH_G_POWERPLAY_MODE_CYCLE) { - usb_buf[0x0B] = speed >> 8; - usb_buf[0x0C] = speed & 0xFF; - //usb_buf[0x0D] = brightness; - usb_buf[0x0D] = 0x64; + usb_buf[0x0B] = speed >> 8; + usb_buf[0x0C] = speed & 0xFF; + //usb_buf[0x0D] = brightness; + usb_buf[0x0D] = 0x64; } else if(mode == LOGITECH_G_POWERPLAY_MODE_BREATHING) { - usb_buf[0x09] = speed >> 8; - usb_buf[0x0A] = speed & 0xFF; - //usb_buf[0x0C] = brightness; - usb_buf[0x0C] = 0x64; + usb_buf[0x09] = speed >> 8; + usb_buf[0x0A] = speed & 0xFF; + //usb_buf[0x0C] = brightness; + usb_buf[0x0C] = 0x64; } /*-----------------------------------------------------*\ diff --git a/Controllers/LogitechController/LogitechGPowerPlayController.h b/Controllers/LogitechController/LogitechGPowerPlayController.h index 253887d8..977ca0fc 100644 --- a/Controllers/LogitechController/LogitechGPowerPlayController.h +++ b/Controllers/LogitechController/LogitechGPowerPlayController.h @@ -24,7 +24,7 @@ enum /*---------------------------------------------------------------------------------------------*\ | Speed is 1000 for fast and 20000 for slow. | -| Values are mutipled by 100 later to give lots of GUI steps. | +| Values are multiplied by 100 later to give lots of GUI steps. | \*---------------------------------------------------------------------------------------------*/ enum { diff --git a/Controllers/LogitechController/LogitechGProWirelessController.cpp b/Controllers/LogitechController/LogitechGProWirelessController.cpp index 0ba8e6b5..430c31f8 100644 --- a/Controllers/LogitechController/LogitechGProWirelessController.cpp +++ b/Controllers/LogitechController/LogitechGProWirelessController.cpp @@ -63,21 +63,21 @@ void LogitechGProWirelessController::SendMouseMode speed = 100 * speed; if(mode == LOGITECH_G_PRO_WIRELESS_MODE_STATIC) { - usb_buf[0x09] = 0x02; + usb_buf[0x09] = 0x02; } if(mode == LOGITECH_G_PRO_WIRELESS_MODE_CYCLE) { - usb_buf[0x0B] = speed >> 8; - usb_buf[0x0C] = speed & 0xFF; - //usb_buf[0x0D] = brightness; - usb_buf[0x0D] = 0x64; + usb_buf[0x0B] = speed >> 8; + usb_buf[0x0C] = speed & 0xFF; + //usb_buf[0x0D] = brightness; + usb_buf[0x0D] = 0x64; } else if(mode == LOGITECH_G_PRO_WIRELESS_MODE_BREATHING) { - usb_buf[0x09] = speed >> 8; - usb_buf[0x0A] = speed & 0xFF; - //usb_buf[0x0C] = brightness; - usb_buf[0x0C] = 0x64; + usb_buf[0x09] = speed >> 8; + usb_buf[0x0A] = speed & 0xFF; + //usb_buf[0x0C] = brightness; + usb_buf[0x0C] = 0x64; } /*-----------------------------------------------------*\ diff --git a/Controllers/LogitechController/LogitechGProWirelessController.h b/Controllers/LogitechController/LogitechGProWirelessController.h index 2e9b41df..e8a591bd 100644 --- a/Controllers/LogitechController/LogitechGProWirelessController.h +++ b/Controllers/LogitechController/LogitechGProWirelessController.h @@ -24,7 +24,7 @@ enum /*---------------------------------------------------------------------------------------------*\ | Speed is 1000 for fast and 20000 for slow. | -| Values are mutipled by 100 later to give lots of GUI steps. | +| Values are multiplied by 100 later to give lots of GUI steps. | \*---------------------------------------------------------------------------------------------*/ enum { diff --git a/Controllers/LogitechController/RGBController_LogitechG203.cpp b/Controllers/LogitechController/RGBController_LogitechG203.cpp index 3ae40d1f..b984cbaf 100644 --- a/Controllers/LogitechController/RGBController_LogitechG203.cpp +++ b/Controllers/LogitechController/RGBController_LogitechG203.cpp @@ -19,37 +19,37 @@ RGBController_LogitechG203::RGBController_LogitechG203(LogitechG203Controller* l location = logitech->GetDeviceLocation(); mode Static; - Static.name = "Static"; - Static.value = LOGITECH_G203_MODE_STATIC; - Static.flags = MODE_FLAG_HAS_PER_LED_COLOR; - Static.color_mode = MODE_COLORS_PER_LED; + Static.name = "Static"; + Static.value = LOGITECH_G203_MODE_STATIC; + Static.flags = MODE_FLAG_HAS_PER_LED_COLOR; + Static.color_mode = MODE_COLORS_PER_LED; modes.push_back(Static); mode Off; - Off.name = "Off"; - Off.value = LOGITECH_G203_MODE_OFF; - Off.flags = 0; - Off.color_mode = MODE_COLORS_NONE; + Off.name = "Off"; + Off.value = LOGITECH_G203_MODE_OFF; + Off.flags = 0; + Off.color_mode = MODE_COLORS_NONE; modes.push_back(Off); mode Cycle; - Cycle.name = "Cycle"; - Cycle.value = LOGITECH_G203_MODE_CYCLE; - Cycle.flags = MODE_FLAG_HAS_SPEED; - Cycle.color_mode = MODE_COLORS_NONE; - Cycle.speed_min = LOGITECH_G203_SPEED_SLOWEST; - Cycle.speed_max = LOGITECH_G203_SPEED_FASTEST; - Cycle.speed = LOGITECH_G203_SPEED_NORMAL; + Cycle.name = "Cycle"; + Cycle.value = LOGITECH_G203_MODE_CYCLE; + Cycle.flags = MODE_FLAG_HAS_SPEED; + Cycle.color_mode = MODE_COLORS_NONE; + Cycle.speed_min = LOGITECH_G203_SPEED_SLOWEST; + Cycle.speed_max = LOGITECH_G203_SPEED_FASTEST; + Cycle.speed = LOGITECH_G203_SPEED_NORMAL; modes.push_back(Cycle); mode Breathing; - Breathing.name = "Breathing"; - Breathing.value = LOGITECH_G203_MODE_BREATHING; - Breathing.flags = MODE_FLAG_HAS_PER_LED_COLOR | MODE_FLAG_HAS_SPEED; - Breathing.color_mode = MODE_COLORS_PER_LED; - Breathing.speed_min = LOGITECH_G203_SPEED_SLOWEST; - Breathing.speed_max = LOGITECH_G203_SPEED_FASTEST; - Breathing.speed = LOGITECH_G203_SPEED_NORMAL; + Breathing.name = "Breathing"; + Breathing.value = LOGITECH_G203_MODE_BREATHING; + Breathing.flags = MODE_FLAG_HAS_PER_LED_COLOR | MODE_FLAG_HAS_SPEED; + Breathing.color_mode = MODE_COLORS_PER_LED; + Breathing.speed_min = LOGITECH_G203_SPEED_SLOWEST; + Breathing.speed_max = LOGITECH_G203_SPEED_FASTEST; + Breathing.speed = LOGITECH_G203_SPEED_NORMAL; modes.push_back(Breathing); SetupZones(); @@ -58,12 +58,12 @@ RGBController_LogitechG203::RGBController_LogitechG203(LogitechG203Controller* l void RGBController_LogitechG203::SetupZones() { zone g203_zone; - g203_zone.name = "Mouse"; - g203_zone.type = ZONE_TYPE_SINGLE; - g203_zone.leds_min = 1; - g203_zone.leds_max = 1; - g203_zone.leds_count = 1; - g203_zone.matrix_map = NULL; + g203_zone.name = "Mouse"; + g203_zone.type = ZONE_TYPE_SINGLE; + g203_zone.leds_min = 1; + g203_zone.leds_max = 1; + g203_zone.leds_count = 1; + g203_zone.matrix_map = NULL; zones.push_back(g203_zone); led g203_led; diff --git a/Controllers/LogitechController/RGBController_LogitechG213.cpp b/Controllers/LogitechController/RGBController_LogitechG213.cpp index 789241e8..df6095fc 100644 --- a/Controllers/LogitechController/RGBController_LogitechG213.cpp +++ b/Controllers/LogitechController/RGBController_LogitechG213.cpp @@ -37,10 +37,10 @@ RGBController_LogitechG213::RGBController_LogitechG213(LogitechG213Controller* l description = "Logitech G213 Keyboard Device"; mode Direct; - Direct.name = "Direct"; - Direct.value = 0xFFFF; - Direct.flags = MODE_FLAG_HAS_PER_LED_COLOR; - Direct.color_mode = MODE_COLORS_PER_LED; + Direct.name = "Direct"; + Direct.value = 0xFFFF; + Direct.flags = MODE_FLAG_HAS_PER_LED_COLOR; + Direct.color_mode = MODE_COLORS_PER_LED; modes.push_back(Direct); SetupZones(); diff --git a/Controllers/LogitechController/RGBController_LogitechG403.cpp b/Controllers/LogitechController/RGBController_LogitechG403.cpp index f750d955..2e7a1fc8 100644 --- a/Controllers/LogitechController/RGBController_LogitechG403.cpp +++ b/Controllers/LogitechController/RGBController_LogitechG403.cpp @@ -19,37 +19,37 @@ RGBController_LogitechG403::RGBController_LogitechG403(LogitechG403Controller* l location = logitech->GetDeviceLocation(); mode Static; - Static.name = "Static"; - Static.value = LOGITECH_G403_MODE_STATIC; - Static.flags = MODE_FLAG_HAS_PER_LED_COLOR; - Static.color_mode = MODE_COLORS_PER_LED; + Static.name = "Static"; + Static.value = LOGITECH_G403_MODE_STATIC; + Static.flags = MODE_FLAG_HAS_PER_LED_COLOR; + Static.color_mode = MODE_COLORS_PER_LED; modes.push_back(Static); mode Off; - Off.name = "Off"; - Off.value = LOGITECH_G403_MODE_OFF; - Off.flags = 0; - Off.color_mode = MODE_COLORS_NONE; + Off.name = "Off"; + Off.value = LOGITECH_G403_MODE_OFF; + Off.flags = 0; + Off.color_mode = MODE_COLORS_NONE; modes.push_back(Off); mode Cycle; - Cycle.name = "Cycle"; - Cycle.value = LOGITECH_G403_MODE_CYCLE; - Cycle.flags = MODE_FLAG_HAS_SPEED; - Cycle.color_mode = MODE_COLORS_NONE; - Cycle.speed_min = LOGITECH_G403_SPEED_SLOWEST; - Cycle.speed_max = LOGITECH_G403_SPEED_FASTEST; - Cycle.speed = LOGITECH_G403_SPEED_NORMAL; + Cycle.name = "Cycle"; + Cycle.value = LOGITECH_G403_MODE_CYCLE; + Cycle.flags = MODE_FLAG_HAS_SPEED; + Cycle.color_mode = MODE_COLORS_NONE; + Cycle.speed_min = LOGITECH_G403_SPEED_SLOWEST; + Cycle.speed_max = LOGITECH_G403_SPEED_FASTEST; + Cycle.speed = LOGITECH_G403_SPEED_NORMAL; modes.push_back(Cycle); mode Breathing; - Breathing.name = "Breathing"; - Breathing.value = LOGITECH_G403_MODE_BREATHING; - Breathing.flags = MODE_FLAG_HAS_PER_LED_COLOR | MODE_FLAG_HAS_SPEED; - Breathing.color_mode = MODE_COLORS_PER_LED; - Breathing.speed_min = LOGITECH_G403_SPEED_SLOWEST; - Breathing.speed_max = LOGITECH_G403_SPEED_FASTEST; - Breathing.speed = LOGITECH_G403_SPEED_NORMAL; + Breathing.name = "Breathing"; + Breathing.value = LOGITECH_G403_MODE_BREATHING; + Breathing.flags = MODE_FLAG_HAS_PER_LED_COLOR | MODE_FLAG_HAS_SPEED; + Breathing.color_mode = MODE_COLORS_PER_LED; + Breathing.speed_min = LOGITECH_G403_SPEED_SLOWEST; + Breathing.speed_max = LOGITECH_G403_SPEED_FASTEST; + Breathing.speed = LOGITECH_G403_SPEED_NORMAL; modes.push_back(Breathing); SetupZones(); diff --git a/Controllers/LogitechController/RGBController_LogitechG810.cpp b/Controllers/LogitechController/RGBController_LogitechG810.cpp index 8ec062fd..613b85be 100644 --- a/Controllers/LogitechController/RGBController_LogitechG810.cpp +++ b/Controllers/LogitechController/RGBController_LogitechG810.cpp @@ -174,50 +174,50 @@ RGBController_LogitechG810::RGBController_LogitechG810(LogitechG810Controller* l description = "Logitech Keyboard Device"; mode Direct; - Direct.name = "Direct"; - Direct.value = 0xFFFF; - Direct.flags = MODE_FLAG_HAS_PER_LED_COLOR; - Direct.color_mode = MODE_COLORS_PER_LED; + Direct.name = "Direct"; + Direct.value = 0xFFFF; + Direct.flags = MODE_FLAG_HAS_PER_LED_COLOR; + Direct.color_mode = MODE_COLORS_PER_LED; modes.push_back(Direct); mode Static; - Static.name = "Static"; - Static.value = LOGITECH_G810_MODE_STATIC; - Static.flags = MODE_FLAG_HAS_MODE_SPECIFIC_COLOR; - Static.colors_min = 1; - Static.colors_max = 1; - Static.color_mode = MODE_COLORS_MODE_SPECIFIC; + Static.name = "Static"; + Static.value = LOGITECH_G810_MODE_STATIC; + Static.flags = MODE_FLAG_HAS_MODE_SPECIFIC_COLOR; + Static.colors_min = 1; + Static.colors_max = 1; + Static.color_mode = MODE_COLORS_MODE_SPECIFIC; Static.colors.resize(1); modes.push_back(Static); mode Off; - Off.name = "Off"; - Off.value = LOGITECH_G810_MODE_OFF; - Off.flags = 0; - Off.color_mode = MODE_COLORS_NONE; + Off.name = "Off"; + Off.value = LOGITECH_G810_MODE_OFF; + Off.flags = 0; + Off.color_mode = MODE_COLORS_NONE; modes.push_back(Off); mode Cycle; - Cycle.name = "Cycle"; - Cycle.value = LOGITECH_G810_MODE_CYCLE; - Cycle.flags = MODE_FLAG_HAS_SPEED; - Cycle.color_mode = MODE_COLORS_NONE; - Cycle.speed_min = LOGITECH_G810_SPEED_SLOWEST; - Cycle.speed_max = LOGITECH_G810_SPEED_FASTEST; - Cycle.speed = LOGITECH_G810_SPEED_NORMAL; + Cycle.name = "Cycle"; + Cycle.value = LOGITECH_G810_MODE_CYCLE; + Cycle.flags = MODE_FLAG_HAS_SPEED; + Cycle.color_mode = MODE_COLORS_NONE; + Cycle.speed_min = LOGITECH_G810_SPEED_SLOWEST; + Cycle.speed_max = LOGITECH_G810_SPEED_FASTEST; + Cycle.speed = LOGITECH_G810_SPEED_NORMAL; modes.push_back(Cycle); mode Breathing; - Breathing.name = "Breathing"; - Breathing.value = LOGITECH_G810_MODE_BREATHING; - Breathing.flags = MODE_FLAG_HAS_MODE_SPECIFIC_COLOR | MODE_FLAG_HAS_SPEED; - Breathing.colors_min = 1; - Breathing.colors_max = 1; - Breathing.color_mode = MODE_COLORS_MODE_SPECIFIC; + Breathing.name = "Breathing"; + Breathing.value = LOGITECH_G810_MODE_BREATHING; + Breathing.flags = MODE_FLAG_HAS_MODE_SPECIFIC_COLOR | MODE_FLAG_HAS_SPEED; + Breathing.colors_min = 1; + Breathing.colors_max = 1; + Breathing.color_mode = MODE_COLORS_MODE_SPECIFIC; Breathing.colors.resize(1); - Breathing.speed_min = LOGITECH_G810_SPEED_SLOWEST; - Breathing.speed_max = LOGITECH_G810_SPEED_FASTEST; - Breathing.speed = LOGITECH_G810_SPEED_NORMAL; + Breathing.speed_min = LOGITECH_G810_SPEED_SLOWEST; + Breathing.speed_max = LOGITECH_G810_SPEED_FASTEST; + Breathing.speed = LOGITECH_G810_SPEED_NORMAL; modes.push_back(Breathing); SetupZones();