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 |
| |
| Generic RGB Interface for Valkyrie RGB |
| keyboard devices |
| |
| Nollie(Nuonuo) 2023/12/6 |
| Bartholomew Ho (imnotmental) 02/01/2024 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_ValkyrieKeyboard.cpp |
| |
| RGBController 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 "RGBControllerKeyNames.h"
#include "RGBController_ValkyrieKeyboard.h"

View file

@ -1,14 +1,17 @@
/*-----------------------------------------*\
| RGBController_ValkyrieKeyboard.h |
| |
| Generic RGB Interface for Valkyrie RGB |
| keyboard devices |
| |
| Nollie(Nuonuo) 2023/12/6 |
| Bartholomew Ho (imnotmental) 02/01/2024 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_ValkyrieKeyboard.h |
| |
| RGBController 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 |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"
#include "ValkyrieKeyboardController.h"

View file

@ -1,12 +1,14 @@
/*-----------------------------------------*\
| ValkyrieKeyboardController.cpp |
| |
| Driver for Valkyrie RGB keyboardlighting |
| controller |
| |
| Nollie(Nuonuo) 2023/12/6 |
| Bartholomew Ho (imnotmental) 02/01/2024 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| ValkyrieKeyboardController.cpp |
| |
| Driver 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 <cstring>
#include "ValkyrieKeyboardController.h"

View file

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