mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-13 00:54:36 -04:00
Update Epomaker controller files to new standardized header comment
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
/*-------------------------------------------------------------------*\
|
||||
| EpomakerController.cpp |
|
||||
| |
|
||||
| Driver for Epomaker Keyboard |
|
||||
| |
|
||||
| Alvaro Munoz (alvaromunoz) 2023-06-05 |
|
||||
| |
|
||||
\*-------------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| EpomakerController.cpp |
|
||||
| |
|
||||
| Driver for Epomaker keyboard |
|
||||
| |
|
||||
| Alvaro Munoz (alvaromunoz) 05 Jun 2023 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "EpomakerController.h"
|
||||
#include <math.h>
|
||||
|
||||
#include "EpomakerController.h"
|
||||
#include "LogManager.h"
|
||||
|
||||
EpomakerController::EpomakerController(hid_device* dev_handle, char *_path)
|
||||
|
||||
@@ -1,22 +1,23 @@
|
||||
/*-------------------------------------------------------------------*\
|
||||
| EpomakerController.h |
|
||||
| |
|
||||
| Driver for Epomaker Keyboard |
|
||||
| |
|
||||
| Alvaro Munoz (alvaromunoz) 2023-06-05 |
|
||||
| |
|
||||
\*-------------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| EpomakerController.h |
|
||||
| |
|
||||
| Driver for Epomaker keyboard |
|
||||
| |
|
||||
| Alvaro Munoz (alvaromunoz) 05 Jun 2023 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#ifndef EpomakerCONTROLLER_H
|
||||
#define EpomakerCONTROLLER_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
|
||||
#define EPOMAKER_PACKET_LENGTH 0x40
|
||||
#define EPOMAKER_COMMAND_RGB 0x07
|
||||
#define EPOMAKER_COMMAND_SET 0xf60a
|
||||
#define EPOMAKER_COMMAND_PING 0xf7
|
||||
#define EPOMAKER_PACKET_LENGTH 0x40
|
||||
#define EPOMAKER_COMMAND_RGB 0x07
|
||||
#define EPOMAKER_COMMAND_SET 0xF60A
|
||||
#define EPOMAKER_COMMAND_PING 0xF7
|
||||
|
||||
enum
|
||||
{
|
||||
@@ -122,5 +123,3 @@ private:
|
||||
|
||||
void SendUpdate();
|
||||
};
|
||||
|
||||
#endif // EpomakerCONTROLLER_H
|
||||
|
||||
@@ -1,8 +1,19 @@
|
||||
/*---------------------------------------------------------*\
|
||||
| EpomakerControllerDetect.cpp |
|
||||
| |
|
||||
| Detector for Epomaker keyboard |
|
||||
| |
|
||||
| Alvaro Munoz (alvaromunoz) 05 Jun 2023 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <hidapi/hidapi.h>
|
||||
#include "Detector.h"
|
||||
#include "EpomakerController.h"
|
||||
#include "RGBController.h"
|
||||
#include "RGBController_EpomakerController.h"
|
||||
#include <hidapi/hidapi.h>
|
||||
|
||||
#define EPOMAKER_VID 0x3151
|
||||
#define EPOMAKER_TH80_Pro_USB_PID 0x4010
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
/*-------------------------------------------------------------------*\
|
||||
| RGBController_EpomakerController.cpp |
|
||||
| |
|
||||
| Driver for Epomaker Keyboard |
|
||||
| |
|
||||
| Alvaro Munoz (alvaromunoz) 2023-06-05 |
|
||||
| |
|
||||
\*-------------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_EpomakerController.cpp |
|
||||
| |
|
||||
| RGBController for Epomaker keyboard |
|
||||
| |
|
||||
| Alvaro Munoz (alvaromunoz) 05 Jun 2023 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "RGBControllerKeyNames.h"
|
||||
#include "RGBController_EpomakerController.h"
|
||||
|
||||
@@ -1,17 +1,18 @@
|
||||
/*-------------------------------------------------------------------*\
|
||||
| RGBController_EpomakerController.h |
|
||||
| |
|
||||
| Driver for Epomaker Keyboard |
|
||||
| |
|
||||
| Alvaro Munoz (alvaromunoz) 2023-06-05 |
|
||||
| |
|
||||
\*-------------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_EpomakerController.h |
|
||||
| |
|
||||
| RGBController for Epomaker keyboard |
|
||||
| |
|
||||
| Alvaro Munoz (alvaromunoz) 05 Jun 2023 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#ifndef RGBCONTROLLER_EpomakerCONTROLLER_H
|
||||
#define RGBCONTROLLER_EpomakerCONTROLLER_H
|
||||
#pragma once
|
||||
|
||||
#include "RGBController.h"
|
||||
#include "Controllers/EpomakerController/EpomakerController.h"
|
||||
#include "EpomakerController.h"
|
||||
|
||||
class RGBController_EpomakerController : public RGBController
|
||||
{
|
||||
@@ -32,5 +33,3 @@ public:
|
||||
private:
|
||||
EpomakerController* controller;
|
||||
};
|
||||
|
||||
#endif // RGBCONTROLLER_EpomakerCONTROLLER_H
|
||||
|
||||
Reference in New Issue
Block a user