Update Seagate common controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-06-17 21:38:41 -05:00
parent 6aa6f6e456
commit 9e98983c75
5 changed files with 57 additions and 36 deletions

View file

@ -1,10 +1,13 @@
/*-----------------------------------------*\
| RGBController_Seagate.cpp |
| |
| Generic RGB Interface for Seagate |
| |
| Adam Honse (CalcProgrammer1) 11/8/2022 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_Seagate.cpp |
| |
| RGBController for Seagate |
| |
| Adam Honse (CalcProgrammer1) 08 Nov 2022 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_Seagate.h"
@ -118,15 +121,15 @@ void RGBController_Seagate::UpdateSingleLED(int led)
case SEAGATE_MODE_STATIC:
controller->SetLEDStatic(led, red, grn, blu, false);
break;
case SEAGATE_MODE_BLINK:
controller->SetLEDBlink(led, red, grn, blu, false);
break;
case SEAGATE_MODE_BREATHING:
controller->SetLEDBreathing(led, red, grn, blu, false);
break;
case SEAGATE_MODE_SPECTRUM:
controller->SetLEDsSpectrum(led, false);
break;
@ -151,7 +154,7 @@ void RGBController_Seagate::DeviceSaveMode()
case SEAGATE_MODE_STATIC:
controller->SetLEDStatic(led_idx, red, grn, blu, true);
break;
case SEAGATE_MODE_BLINK:
controller->SetLEDBlink(led_idx, red, grn, blu, true);
break;

View file

@ -1,12 +1,16 @@
/*-----------------------------------------*\
| RGBController_Seagate.h |
| |
| Generic RGB Interface for Seagate |
| |
| Adam Honse (CalcProgrammer1) 11/8/2022 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_Seagate.h |
| |
| RGBController for Seagate |
| |
| Adam Honse (CalcProgrammer1) 08 Nov 2022 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"
#include "SeagateController.h"

View file

@ -1,11 +1,13 @@
/*-----------------------------------------*\
| SeagateController.cpp |
| |
| Code for Seagate Firecuda External HDD |
| RGB controller |
| |
| Adam Honse (CalcProgrammer1) 6/15/2023 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| SeagateController.cpp |
| |
| Driver for Seagate |
| |
| Adam Honse (CalcProgrammer1) 15 Jun 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "SeagateController.h"

View file

@ -1,11 +1,13 @@
/*-----------------------------------------*\
| SeagateController.h |
| |
| Definitions for Seagate Firecuda |
| External HDD RGB controller |
| |
| Adam Honse (CalcProgrammer1) 6/15/2023 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| SeagateController.h |
| |
| Driver for Seagate |
| |
| Adam Honse (CalcProgrammer1) 15 Jun 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once

View file

@ -1,10 +1,20 @@
/*---------------------------------------------------------*\
| SeagateControllerDetect.cpp |
| |
| Detector for Seagate |
| |
| Adam Honse (CalcProgrammer1) 15 Jun 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <vector>
#include "Detector.h"
#include "LogManager.h"
#include "SeagateController.h"
#include "RGBController.h"
#include "RGBController_Seagate.h"
#include <vector>
#include "scsiapi.h"
/******************************************************************************************\