Update Valkyrie keyboard controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-06-22 19:13:15 -05:00
parent 066d48e22f
commit e3348ea3e6
5 changed files with 61 additions and 39 deletions

View file

@ -1,12 +1,14 @@
/*-----------------------------------------*\ /*---------------------------------------------------------*\
| RGBController_ValkyrieKeyboard.cpp | | RGBController_ValkyrieKeyboard.cpp |
| | | |
| Generic RGB Interface for Valkyrie RGB | | RGBController for Valkyrie keyboard |
| keyboard devices | | |
| | | Nollie (Nuonuo) 06 Dec 2023 |
| Nollie(Nuonuo) 2023/12/6 | | Bartholomew Ho (imnotmental) 01 Feb 2024 |
| Bartholomew Ho (imnotmental) 02/01/2024 | | |
\*-----------------------------------------*/ | This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBControllerKeyNames.h" #include "RGBControllerKeyNames.h"
#include "RGBController_ValkyrieKeyboard.h" #include "RGBController_ValkyrieKeyboard.h"

View file

@ -1,14 +1,17 @@
/*-----------------------------------------*\ /*---------------------------------------------------------*\
| RGBController_ValkyrieKeyboard.h | | RGBController_ValkyrieKeyboard.h |
| | | |
| Generic RGB Interface for Valkyrie RGB | | RGBController for Valkyrie keyboard |
| keyboard devices | | |
| | | Nollie (Nuonuo) 06 Dec 2023 |
| Nollie(Nuonuo) 2023/12/6 | | Bartholomew Ho (imnotmental) 01 Feb 2024 |
| Bartholomew Ho (imnotmental) 02/01/2024 | | |
\*-----------------------------------------*/ | This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once #pragma once
#include "RGBController.h" #include "RGBController.h"
#include "ValkyrieKeyboardController.h" #include "ValkyrieKeyboardController.h"

View file

@ -1,12 +1,14 @@
/*-----------------------------------------*\ /*---------------------------------------------------------*\
| ValkyrieKeyboardController.cpp | | ValkyrieKeyboardController.cpp |
| | | |
| Driver for Valkyrie RGB keyboardlighting | | Driver for Valkyrie keyboard |
| controller | | |
| | | Nollie (Nuonuo) 06 Dec 2023 |
| Nollie(Nuonuo) 2023/12/6 | | Bartholomew Ho (imnotmental) 01 Feb 2024 |
| Bartholomew Ho (imnotmental) 02/01/2024 | | |
\*-----------------------------------------*/ | This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <cstring> #include <cstring>
#include "ValkyrieKeyboardController.h" #include "ValkyrieKeyboardController.h"

View file

@ -1,17 +1,20 @@
/*-----------------------------------------*\ /*---------------------------------------------------------*\
| ValkyrieKeyboardController.h | | ValkyrieKeyboardController.h |
| | | |
| Definitions and types for Valkyrie RGB | | Driver for Valkyrie keyboard |
| keyboard lighting controller | | |
| | | Nollie (Nuonuo) 06 Dec 2023 |
| Nollie(Nuonuo) 2023/12/6 | | Bartholomew Ho (imnotmental) 01 Feb 2024 |
| Bartholomew Ho (imnotmental) 02/01/2024 | | |
\*-----------------------------------------*/ | 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"
/*-----------------------------------------------------*\ /*-----------------------------------------------------*\
| Valkyrie vendor ID | | Valkyrie vendor ID |
@ -34,7 +37,7 @@ public:
std::string GetSerialString(); std::string GetSerialString();
unsigned short GetUSBPID(); unsigned short GetUSBPID();
int GetInterfaceNum(); int GetInterfaceNum();
void SendColors void SendColors
( (
unsigned char* color_data, unsigned char* color_data,

View file

@ -1,4 +1,16 @@
#include <hidapi/hidapi.h> /*---------------------------------------------------------*\
| ValkyrieKeyboardControllerDetect.cpp |
| |
| Detector for Valkyrie keyboard |
| |
| Nollie (Nuonuo) 06 Dec 2023 |
| Bartholomew Ho (imnotmental) 01 Feb 2024 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <hidapi/hidapi.h>
#include "Detector.h" #include "Detector.h"
#include "RGBController.h" #include "RGBController.h"
#include "RGBController_ValkyrieKeyboard.h" #include "RGBController_ValkyrieKeyboard.h"