Update Gigabyte Aorus mouse controller files to new standardized header comment
This commit is contained in:
parent
e086085375
commit
c8bafd10aa
5 changed files with 58 additions and 40 deletions
|
|
@ -1,13 +1,16 @@
|
||||||
/*-----------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| GigabyteAorusMouseController.cpp |
|
| GigabyteAorusMouseController.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Gigabyte Aorus Mouse lighting |
|
| Driver for Gigabyte Aorus mouse |
|
||||||
| controller |
|
| |
|
||||||
| |
|
| Morgan Guimard (morg) 29 Dec 2022 |
|
||||||
| Guimard Morgan (morg) 12/29/2022 |
|
| |
|
||||||
\*-----------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
#include "GigabyteAorusMouseController.h"
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include "GigabyteAorusMouseController.h"
|
||||||
|
|
||||||
GigabyteAorusMouseController::GigabyteAorusMouseController(hid_device* dev_handle, const hid_device_info& info)
|
GigabyteAorusMouseController::GigabyteAorusMouseController(hid_device* dev_handle, const hid_device_info& info)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,19 @@
|
||||||
/*-----------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| GigabyteAorusMouseController.h |
|
| GigabyteAorusMouseController.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Gigabyte Aorus Mouse lighting |
|
| Driver for Gigabyte Aorus mouse |
|
||||||
| controller - header file |
|
| |
|
||||||
| |
|
| Morgan Guimard (morg) 29 Dec 2022 |
|
||||||
| Guimard Morgan (morg) 12/29/2022 |
|
| |
|
||||||
\*-----------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "RGBController.h"
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <hidapi/hidapi.h>
|
#include <hidapi/hidapi.h>
|
||||||
|
#include "RGBController.h"
|
||||||
|
|
||||||
#define GIGABYTE_AORUS_MOUSE_REPORT_SIZE 8
|
#define GIGABYTE_AORUS_MOUSE_REPORT_SIZE 8
|
||||||
#define GIGABYTE_AORUS_MOUSE_DIRECT_CMD 0xCD
|
#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 "Detector.h"
|
||||||
#include "RGBController.h"
|
#include "RGBController.h"
|
||||||
#include "hidapi/hidapi.h"
|
#include "hidapi/hidapi.h"
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,17 @@
|
||||||
/*-----------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_GigabyteAorusMouse.cpp |
|
| RGBController_GigabyteAorusMouse.cpp |
|
||||||
| |
|
| |
|
||||||
| Generic RGB Interface for OpenRGB |
|
| RGBController for Gigabyte Aorus mouse |
|
||||||
| Gigabyte Aorus Mouse lighting |
|
| |
|
||||||
| USB Driver |
|
| Morgan Guimard (morg) 29 Dec 2022 |
|
||||||
| |
|
| |
|
||||||
| Guimard Morgan (morg) 12/29/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 <chrono>
|
||||||
|
#include <thread>
|
||||||
|
#include "RGBController_GigabyteAorusMouse.h"
|
||||||
|
|
||||||
/**------------------------------------------------------------------*\
|
/**------------------------------------------------------------------*\
|
||||||
@name Gigabyte Aorus mouse
|
@name Gigabyte Aorus mouse
|
||||||
|
|
@ -166,7 +166,7 @@ void RGBController_GigabyteAorusMouse::UpdateSingleLED(int /*led*/)
|
||||||
}
|
}
|
||||||
|
|
||||||
void RGBController_GigabyteAorusMouse::DeviceUpdateMode()
|
void RGBController_GigabyteAorusMouse::DeviceUpdateMode()
|
||||||
{
|
{
|
||||||
/*---------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| Brightness cannot be updated in the direct mode packet |
|
| Brightness cannot be updated in the direct mode packet |
|
||||||
\*---------------------------------------------------------*/
|
\*---------------------------------------------------------*/
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,13 @@
|
||||||
/*-----------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_GigabyteAorusMouse.h |
|
| RGBController_GigabyteAorusMouse.h |
|
||||||
| |
|
| |
|
||||||
| Generic RGB Interface for OpenRGB |
|
| RGBController for Gigabyte Aorus mouse |
|
||||||
| Gigabyte Aorus Mouse lighting |
|
| |
|
||||||
| USB Driver |
|
| Morgan Guimard (morg) 29 Dec 2022 |
|
||||||
| |
|
| |
|
||||||
| Guimard Morgan (morg) 12/29/2022 |
|
| This file is part of the OpenRGB project |
|
||||||
\*-----------------------------------------*/
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue