Update Keychron keyboard controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-05-25 09:34:30 -05:00
parent 56753a5821
commit fae1e8e9eb
5 changed files with 58 additions and 37 deletions

View file

@ -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;

View file

@ -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);

View file

@ -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"

View file

@ -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

View file

@ -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