mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-18 19:46:27 -04:00
Update Gigabyte Aorus mouse controller files to new standardized header comment
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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 |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user