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 |
|
| 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"
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue