Update Gigabyte Aorus laptop controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-05-19 17:26:14 -05:00
parent efd26d4e49
commit e086085375
5 changed files with 58 additions and 37 deletions

View file

@ -1,14 +1,17 @@
/*-----------------------------------------*\
| GigabyteAorusLaptopController.h |
| |
| Driver for Gigabyte Aorus Laptop |
| controller |
| |
| Guimard Morgan (morg) 06/05/2023 |
\*-----------------------------------------*/
#include "GigabyteAorusLaptopController.h"
#include <string.h>
/*---------------------------------------------------------*\
| GigabyteAorusLaptopController.cpp |
| |
| Driver for Gigabyte Aorus laptop |
| |
| Morgan Guimard (morg) 05 Jun 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <cmath>
#include <string.h>
#include "GigabyteAorusLaptopController.h"
/*---------------------------------------------------------*\
| Indexed colors mapping |

View file

@ -1,16 +1,19 @@
/*-----------------------------------------*\
| GigabyteAorusLaptopController.cpp |
| |
| Driver for Gigabyte Aorus Laptop |
| controller |
| |
| Guimard Morgan (morg) 06/05/2023 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| GigabyteAorusLaptopController.h |
| |
| Driver for Gigabyte Aorus laptop |
| |
| Morgan Guimard (morg) 05 Jun 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"
#include <string>
#include <hidapi/hidapi.h>
#include "RGBController.h"
#define GIGABYTE_AORUS_LAPTOP_REPORT_SIZE 8
#define GIGABYTE_AORUS_LAPTOP_REPORT_ID 0x08

View file

@ -1,4 +1,15 @@
#include "Detector.h"
/*---------------------------------------------------------*\
| GigabyteAorusLaptopControllerDetect.cpp |
| |
| Detector for Gigabyte Aorus laptop |
| |
| Morgan Guimard (morg) 05 Jun 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "Detector.h"
#include "GigabyteAorusLaptopController.h"
#include "RGBController.h"
#include "RGBController_GigabyteAorusLaptop.h"

View file

@ -1,11 +1,13 @@
/*-----------------------------------------*\
| RGBController_GigabyteAorusLaptop.cpp |
| |
| Generic RGB Interface for OpenRGB |
| Gigabyte Aorus Laptop USB Driver |
| |
| Guimard Morgan (morg) 06/05/2023 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_GigabyteAorusLaptop.cpp |
| |
| RGBController for Gigabyte Aorus laptop |
| |
| Morgan Guimard (morg) 05 Jun 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_GigabyteAorusLaptop.h"
#include "RGBControllerKeyNames.h"

View file

@ -1,11 +1,13 @@
/*-----------------------------------------*\
| RGBController_GigabyteAorusLaptop.h |
| |
| Generic RGB Interface for OpenRGB |
| Gigabyte Aorus Laptop USB Driver |
| |
| Guimard Morgan (morg) 06/05/2023 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_GigabyteAorusLaptop.h |
| |
| RGBController for Gigabyte Aorus laptop |
| |
| Morgan Guimard (morg) 05 Jun 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
@ -34,6 +36,6 @@ public:
void DeviceUpdateMode();
private:
GigabyteAorusLaptopController* controller;
GigabyteAorusLaptopController* controller;
GIGABYTE_AORUS_LAPTOP_DEV_TYPE dev_type;
};