Update Gigabyte Aorus mouse controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-05-19 17:32:41 -05:00
parent e086085375
commit c8bafd10aa
5 changed files with 58 additions and 40 deletions

View file

@ -1,13 +1,16 @@
/*-----------------------------------------*\
| GigabyteAorusMouseController.cpp |
| |
| Driver for Gigabyte Aorus Mouse lighting |
| controller |
| |
| Guimard Morgan (morg) 12/29/2022 |
\*-----------------------------------------*/
#include "GigabyteAorusMouseController.h"
/*---------------------------------------------------------*\
| GigabyteAorusMouseController.cpp |
| |
| Driver for Gigabyte Aorus mouse |
| |
| Morgan Guimard (morg) 29 Dec 2022 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <string.h>
#include "GigabyteAorusMouseController.h"
GigabyteAorusMouseController::GigabyteAorusMouseController(hid_device* dev_handle, const hid_device_info& info)
{

View file

@ -1,16 +1,19 @@
/*-----------------------------------------*\
| GigabyteAorusMouseController.h |
| |
| Driver for Gigabyte Aorus Mouse lighting |
| controller - header file |
| |
| Guimard Morgan (morg) 12/29/2022 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| GigabyteAorusMouseController.h |
| |
| Driver for Gigabyte Aorus mouse |
| |
| Morgan Guimard (morg) 29 Dec 2022 |
| |
| 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_MOUSE_REPORT_SIZE 8
#define GIGABYTE_AORUS_MOUSE_DIRECT_CMD 0xCD

View file

@ -1,3 +1,14 @@
/*---------------------------------------------------------*\
| GigabyteAorusMouseControllerDetect.cpp |
| |
| Detector for Gigabyte Aorus mouse |
| |
| Morgan Guimard (morg) 29 Dec 2022 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "Detector.h"
#include "RGBController.h"
#include "hidapi/hidapi.h"

View file

@ -1,17 +1,17 @@
/*-----------------------------------------*\
| RGBController_GigabyteAorusMouse.cpp |
| |
| Generic RGB Interface for OpenRGB |
| Gigabyte Aorus Mouse lighting |
| USB Driver |
| |
| Guimard Morgan (morg) 12/29/2022 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_GigabyteAorusMouse.cpp |
| |
| RGBController for Gigabyte Aorus mouse |
| |
| Morgan Guimard (morg) 29 Dec 2022 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_GigabyteAorusMouse.h"
#include <thread>
#include <chrono>
#include <thread>
#include "RGBController_GigabyteAorusMouse.h"
/**------------------------------------------------------------------*\
@name Gigabyte Aorus mouse
@ -166,7 +166,7 @@ void RGBController_GigabyteAorusMouse::UpdateSingleLED(int /*led*/)
}
void RGBController_GigabyteAorusMouse::DeviceUpdateMode()
{
{
/*---------------------------------------------------------*\
| Brightness cannot be updated in the direct mode packet |
\*---------------------------------------------------------*/

View file

@ -1,12 +1,13 @@
/*-----------------------------------------*\
| RGBController_GigabyteAorusMouse.h |
| |
| Generic RGB Interface for OpenRGB |
| Gigabyte Aorus Mouse lighting |
| USB Driver |
| |
| Guimard Morgan (morg) 12/29/2022 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_GigabyteAorusMouse.h |
| |
| RGBController for Gigabyte Aorus mouse |
| |
| Morgan Guimard (morg) 29 Dec 2022 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once