Update Sinowealth1007 controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-08-01 22:30:18 -05:00
parent 9d9c6aa5c8
commit 792a14cf3b
4 changed files with 44 additions and 38 deletions

View file

@ -1,11 +1,13 @@
/*-------------------------------------------*\
| RGBController_Sinowealth1007.cpp |
| |
| Generic RGB Interface for Sinowealth |
| mice with PID 1007 and similar controllers |
| |
| Moon_darker (Vaker) 02.02.2022 |
\*-------------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_Sinowealth1007.cpp |
| |
| RGBController for Sinowealth mice with PID 1007 |
| |
| Moon_darker (Vaker) 02 Feb 2022 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_Sinowealth1007.h"

View file

@ -1,11 +1,13 @@
/*-------------------------------------------*\
| RGBController_Sinowealth1007.h |
| |
| Generic RGB Interface for Sinowealth |
| mice with PID 1007 and similar controllers |
| |
| Moon_darker (Vaker) 25.01.2022 |
\*-------------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_Sinowealth1007.h |
| |
| RGBController for Sinowealth mice with PID 1007 |
| |
| Moon_darker (Vaker) 25 Jan 2022 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
@ -27,7 +29,6 @@ public:
void DeviceUpdateMode();
private:
SinowealthController1007* controller;
};

View file

@ -1,11 +1,13 @@
/*-----------------------------------------*\
| SinowealthController1007.cpp |
| |
| Driver for Sinowealth mice with PID 1007 |
| and ones with similar protocol |
| |
| Moon_darker (Vaker) 02.02.2022 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| SinowealthController1007.cpp |
| |
| Driver for Sinowealth mice with PID 1007 |
| |
| Moon_darker (Vaker) 02 Feb 2022 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <cstring>
#include "LogManager.h"

View file

@ -1,19 +1,20 @@
/*-----------------------------------------*\
| SinowealthController1007.h |
| |
| Definitions and types for Sinowealth |
| mice with PID 1007 and ones with similar |
| protocol |
| |
| Moon_darker (Vaker) 25.01.2022 |
\*-----------------------------------------*/
#include "RGBController.h"
#include <vector>
#include <hidapi/hidapi.h>
/*---------------------------------------------------------*\
| SinowealthController1007.h |
| |
| Driver for Sinowealth mice with PID 1007 |
| |
| Moon_darker (Vaker) 25 Jan 2022 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <vector>
#include <hidapi/hidapi.h>
#include "RGBController.h"
#define ZET_FURY_PRO_STATE_BUFFER_LENGTH 59
#define ZET_FURY_PRO_COLOR_BUFFER_LENGTH 21