Update Wooting keyboard controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-06-22 19:29:35 -05:00
parent d7ffb9e13f
commit d1a638e6f0
9 changed files with 104 additions and 76 deletions

View file

@ -1,11 +1,13 @@
/*-----------------------------------------*\
| RGBController_WootingKeyboard.cpp |
| |
| Generic RGB Interface for Wooting RGB |
| keyboard devices |
| |
| Diogo Trindade (diogotr7) 3/4/2021 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_WootingKeyboard.cpp |
| |
| RGBController for Wooting keyboard |
| |
| Diogo Trindade (diogotr7) 04 Mar 2021 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBControllerKeyNames.h"
#include "RGBController_WootingKeyboard.h"

View file

@ -1,13 +1,16 @@
/*-----------------------------------------*\
| RGBController_WootingKeyboard.h |
| |
| Generic RGB Interface for Wooting RGB |
| keyboard devices |
| |
| Diogo Trindade (diogotr7) 3/4/2021 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_WootingKeyboard.h |
| |
| RGBController for Wooting keyboard |
| |
| Diogo Trindade (diogotr7) 04 Mar 2021 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"
#include "WootingKeyboardController.h"
@ -19,7 +22,7 @@ public:
void SetupZones();
void ResizeZone(int zone, int new_size);
void DeviceUpdateLEDs();
void UpdateZoneLEDs(int zone);
void UpdateSingleLED(int led);

View file

@ -1,11 +1,13 @@
/*-------------------------------------------------------------------*\
| WootingKeyboardController.cpp |
| |
| OpenRGB driver for Wooting RGB keyboardlighting controller |
| https://github.com/WootingKb/wooting-rgb-sdk |
| |
| Chris M (Dr_No) 9th July 2021 |
\*-------------------------------------------------------------------*/
/*---------------------------------------------------------*\
| WootingKeyboardController.cpp |
| |
| Driver for Wooting keyboard |
| |
| Chris M (Dr_No) 09 Jul 2021 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <cstring>
#include "WootingKeyboardController.h"

View file

@ -1,19 +1,21 @@
/*-------------------------------------------------------------------*\
| WootingKeyboardController.h |
| |
| OpenRGB driver for Wooting RGB keyboardlighting controller |
| https://github.com/WootingKb/wooting-rgb-sdk |
| |
| Chris M (Dr_No) 9th July 2021 |
\*-------------------------------------------------------------------*/
#include "RGBController.h"
#include "LogManager.h"
#include <string>
#include <hidapi/hidapi.h>
/*---------------------------------------------------------*\
| WootingKeyboardController.h |
| |
| Driver for Wooting keyboard |
| |
| Chris M (Dr_No) 09 Jul 2021 |
| |
| 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"
#include "LogManager.h"
#define WOOTING_COMMAND_SIZE 8
#define WOOTING_REPORT_SIZE 129
#define WOOTING_RAW_COLORS_REPORT 11

View file

@ -1,11 +1,22 @@
/*---------------------------------------------------------*\
| WootingKeyboardControllerDetect.cpp |
| |
| Detector for Wooting keyboard |
| |
| Diogo Trindade (diogotr7) 04 Mar 2021 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <vector>
#include <hidapi/hidapi.h>
#include "Detector.h"
#include "WootingOneKeyboardController.h"
#include "WootingTwoKeyboardController.h"
#include "RGBController.h"
#include "RGBController_WootingKeyboard.h"
#include "LogManager.h"
#include <vector>
#include <hidapi/hidapi.h>
/*-----------------------------------------------------*\
| Wooting vendor ID |

View file

@ -1,11 +1,13 @@
/*-----------------------------------------*\
| WootingKeyboardController.cpp |
| |
| Driver for Wooting RGB keyboardlighting |
| controller |
| |
| Diogo Trindade (diogotr7) 3/4/2021 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| WootingOneKeyboardController.cpp |
| |
| Driver for Wooting One keyboard |
| |
| Diogo Trindade (diogotr7) 04 Mar 2021 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <cstring>
#include "WootingOneKeyboardController.h"

View file

@ -1,16 +1,18 @@
/*-----------------------------------------*\
| WootingKeyboardController.h |
| |
| Definitions and types for Wooting RGB |
| keyboard lighting controller |
| |
| Diogo Trindade (diogotr7) 3/4/2021 |
\*-----------------------------------------*/
#include "WootingKeyboardController.h"
/*---------------------------------------------------------*\
| WootingOneKeyboardController.h |
| |
| Driver for Wooting One keyboard |
| |
| Diogo Trindade (diogotr7) 04 Mar 2021 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "WootingKeyboardController.h"
class WootingOneKeyboardController : public WootingKeyboardController
{
public:

View file

@ -1,11 +1,13 @@
/*-------------------------------------------------------------------*\
| WootingTwoKeyboardController.cpp |
| |
| OpenRGB driver for Wooting RGB keyboardlighting controller |
| https://github.com/WootingKb/wooting-rgb-sdk |
| |
| Chris M (Dr_No) 9th July 2021 |
\*-------------------------------------------------------------------*/
/*---------------------------------------------------------*\
| WootingTwoKeyboardController.cpp |
| |
| Driver for Wooting Two keyboard |
| |
| Chris M (Dr_No) 09 Jul 2021 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <cstring>
#include "WootingTwoKeyboardController.h"

View file

@ -1,16 +1,18 @@
/*-------------------------------------------------------------------*\
| WootingTwoKeyboardController.h |
| |
| OpenRGB driver for Wooting RGB keyboardlighting controller |
| https://github.com/WootingKb/wooting-rgb-sdk |
| |
| Chris M (Dr_No) 9th July 2021 |
\*-------------------------------------------------------------------*/
#include "WootingKeyboardController.h"
/*---------------------------------------------------------*\
| WootingTwoKeyboardController.h |
| |
| Driver for Wooting Two keyboard |
| |
| Chris M (Dr_No) 09 Jul 2021 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "WootingKeyboardController.h"
class WootingTwoKeyboardController : public WootingKeyboardController
{
public: