Update Valkyrie keyboard controller files to new standardized header comment
This commit is contained in:
parent
066d48e22f
commit
e3348ea3e6
5 changed files with 61 additions and 39 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue