Update Red Square Keyrox controller files to new standardized header comment
This commit is contained in:
parent
a4a3a7b970
commit
3147da5c73
5 changed files with 57 additions and 34 deletions
|
|
@ -1,11 +1,14 @@
|
|||
/*-------------------------------------------------------*\
|
||||
| RGBController_RedSquareKeyrox.cpp |
|
||||
| |
|
||||
| Driver for Red Square Keyrox USB Controller |
|
||||
| Based on Keychron Controller by Guimard Morgan (morg) |
|
||||
| |
|
||||
| cafeed28 3 Nov 2022 |
|
||||
\*-------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_RedSquareKeyrox.cpp |
|
||||
| |
|
||||
| RGBController for Red Square Keyrox |
|
||||
| |
|
||||
| cafeed28 03 Nov 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "RGBControllerKeyNames.h"
|
||||
#include "RGBController_RedSquareKeyrox.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,16 @@
|
|||
/*---------------------------------------------*\
|
||||
| RGBController_RedSquareKeyrox.h |
|
||||
| |
|
||||
| Driver for Red Square Keyrox USB Controller |
|
||||
| |
|
||||
| cafeed28 3 Nov 2022 |
|
||||
\*---------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_RedSquareKeyrox.h |
|
||||
| |
|
||||
| RGBController for Red Square Keyrox |
|
||||
| |
|
||||
| cafeed28 03 Nov 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "RGBController.h"
|
||||
#include "RedSquareKeyroxController.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,15 +1,17 @@
|
|||
/*---------------------------------------------*\
|
||||
| RedSquareKeyroxController.cpp |
|
||||
| |
|
||||
| Driver for Red Square Keyrox USB Controller |
|
||||
| |
|
||||
| cafeed28 3 Nov 2022 |
|
||||
\*---------------------------------------------*/
|
||||
|
||||
#include "LogManager.h"
|
||||
#include "RedSquareKeyroxController.h"
|
||||
/*---------------------------------------------------------*\
|
||||
| RedSquareKeyroxController.cpp |
|
||||
| |
|
||||
| Driver for Red Square Keyrox |
|
||||
| |
|
||||
| cafeed28 03 Nov 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <iostream>
|
||||
#include "LogManager.h"
|
||||
#include "RedSquareKeyroxController.h"
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,15 +1,18 @@
|
|||
/*---------------------------------------------*\
|
||||
| RedSquareKeyroxController.h |
|
||||
| |
|
||||
| Driver for Red Square Keyrox USB Controller |
|
||||
| |
|
||||
| cafeed28 3 Nov 2022 |
|
||||
\*---------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RedSquareKeyroxController.h |
|
||||
| |
|
||||
| Driver for Red Square Keyrox |
|
||||
| |
|
||||
| cafeed28 03 Nov 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
|
||||
#include "RGBController.h"
|
||||
|
||||
#define PACKET_DATA_LENGTH 520
|
||||
|
|
|
|||
|
|
@ -1,10 +1,21 @@
|
|||
/*---------------------------------------------------------*\
|
||||
| RedSquareKeyroxControllerDetect.cpp |
|
||||
| |
|
||||
| Detector for Red Square Keyrox |
|
||||
| |
|
||||
| cafeed28 03 Nov 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <hidapi/hidapi.h>
|
||||
#include "Detector.h"
|
||||
#include "RedSquareKeyroxController.h"
|
||||
#include "RedSquareKeyroxTKLClassicController.h"
|
||||
#include "RGBController.h"
|
||||
#include "RGBController_RedSquareKeyrox.h"
|
||||
#include "RGBController_RedSquareKeyroxTKLClassic.h"
|
||||
#include <hidapi/hidapi.h>
|
||||
|
||||
/*-----------------------------------------------------*\
|
||||
| Red Square vendor ID |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue