mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-03-24 17:01:05 -04:00
Update Keychron keyboard controller files to new standardized header comment
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
/*-----------------------------------------*\
|
||||
| KeychronKeyboardController.cpp |
|
||||
| |
|
||||
| Driver for Keychron Keyboard lighting |
|
||||
| controller |
|
||||
| |
|
||||
| Guimard Morgan (morg) 2/20/2022 |
|
||||
\*-----------------------------------------*/
|
||||
#include "KeychronKeyboardController.h"
|
||||
/*---------------------------------------------------------*\
|
||||
| KeychronKeyboardController.cpp |
|
||||
| |
|
||||
| Driver for Keychron keyboard |
|
||||
| |
|
||||
| Morgan Guimard (morg) 20 Feb 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <string.h>
|
||||
#include "KeychronKeyboardController.h"
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
/*-----------------------------------------*\
|
||||
| KeychronKeyboardController.h |
|
||||
| |
|
||||
| Driver for Keychron Keyboard lighting |
|
||||
| controller - header file |
|
||||
| |
|
||||
| Guimard Morgan (morg) 2/20/2022 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| KeychronKeyboardController.h |
|
||||
| |
|
||||
| Driver for Keychron keyboard |
|
||||
| |
|
||||
| Morgan Guimard (morg) 20 Feb 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "RGBController.h"
|
||||
@@ -104,7 +107,7 @@ protected:
|
||||
private:
|
||||
std::string location;
|
||||
std::string serial_number;
|
||||
std::string version;
|
||||
std::string version;
|
||||
std::vector<unsigned int> led_sequence_positions;
|
||||
|
||||
void SetCustomization(bool state);
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/*---------------------------------------------------------*\
|
||||
| KeychronKeyboardControllerDetect.cpp |
|
||||
| |
|
||||
| Detector for Keychron keyboard |
|
||||
| |
|
||||
| Morgan Guimard (morg) 20 Feb 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "Detector.h"
|
||||
#include "KeychronKeyboardController.h"
|
||||
#include "RGBController.h"
|
||||
|
||||
@@ -1,17 +1,19 @@
|
||||
/*-----------------------------------------*\
|
||||
| RGBController_KeychronKeyboard.cpp |
|
||||
| |
|
||||
| Generic RGB Interface for OpenRGB |
|
||||
| Keychron Keyboard USB Driver |
|
||||
| |
|
||||
| Guimard Morgan (morg) 2/20/2022 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_KeychronKeyboard.cpp |
|
||||
| |
|
||||
| RGBController for Keychron keyboard |
|
||||
| |
|
||||
| Morgan Guimard (morg) 20 Feb 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
#include "RGBControllerKeyNames.h"
|
||||
#include "RGBController_KeychronKeyboard.h"
|
||||
|
||||
#include <thread>
|
||||
#include <chrono>
|
||||
|
||||
#define NA 0xFFFFFFFF
|
||||
|
||||
typedef struct
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
/*-----------------------------------------*\
|
||||
| RGBController_KeychronKeyboard.h |
|
||||
| |
|
||||
| Generic RGB Interface for OpenRGB |
|
||||
| Keychron Keyboard RGB USB Driver |
|
||||
| |
|
||||
| Guimard Morgan (morg) 2/20/2022 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_KeychronKeyboard.h |
|
||||
| |
|
||||
| RGBController for Keychron keyboard |
|
||||
| |
|
||||
| Morgan Guimard (morg) 20 Feb 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
Reference in New Issue
Block a user