Update Sinowealth controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-08-01 22:37:01 -05:00
parent 792a14cf3b
commit 6f7f6d3fe7
4 changed files with 44 additions and 36 deletions

View file

@ -1,11 +1,13 @@
/*-----------------------------------------*\
| RGBController_Sinowealth.cpp |
| |
| Definitions and types for Sinowealth |
| mice, including Glorious |
| |
| Niels Westphal (crashniels) 20/5/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_Sinowealth.cpp |
| |
| RGBController for Sinowealth mice, including Glorious |
| |
| Niels Westphal (crashniels) 20 May 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_Sinowealth.h"

View file

@ -1,11 +1,13 @@
/*-----------------------------------------*\
| RGBController_Sinowealth.h |
| |
| Definitions and types for Sinowealth |
| mice, including Glorious |
| |
| Niels Westphal (crashniels) 20/5/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_Sinowealth.h |
| |
| RGBController for Sinowealth mice, including Glorious |
| |
| Niels Westphal (crashniels) 20 May 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once

View file

@ -1,11 +1,13 @@
/*-----------------------------------------*\
| SinowealthController.cpp |
| |
| Definitions and types for Sinowealth |
| mice, including Glorious |
| |
| Niels Westphal (crashniels) 20/5/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| SinowealthController.cpp |
| |
| Driver for Sinowealth mice, including Glorious |
| |
| Niels Westphal (crashniels) 20 May 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <cstring>
#include "LogManager.h"

View file

@ -1,18 +1,20 @@
/*-----------------------------------------*\
| SinowealthController.h |
| |
| Definitions and types for Sinowealth |
| mice, including Glorious |
| |
| Niels Westphal (crashniels) 20/5/2020 |
\*-----------------------------------------*/
#include "RGBController.h"
#include <vector>
#include <hidapi/hidapi.h>
/*---------------------------------------------------------*\
| SinowealthController.h |
| |
| Driver for Sinowealth mice, including Glorious |
| |
| Niels Westphal (crashniels) 20 May 2020 |
| |
| 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 SINOWEALTH_CONFIG_SIZE 167
#define SINOWEALTH_CONFIG_SIZE_MIN 131
#define SINOWEALTH_CONFIG_REPORT_SIZE 520