You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.4 KiB
C++
40 lines
1.4 KiB
C++
/*---------------------------------------------------------*\
|
|
| RGBController_JGINYUEInternalUSBV2.h |
|
|
| |
|
|
| RGBController for JGINYUE USB motherboard V2 |
|
|
| |
|
|
| Tong R (tcr020) 03 July 2023 |
|
|
| Liu ShiMeng(Moon dream stars) 06 Aug 2024 |
|
|
| Dongguan Yonghang Electronic Technology Co., Ltd |
|
|
| |
|
|
| This file is part of the OpenRGB project |
|
|
| SPDX-License-Identifier: GPL-2.0-or-later |
|
|
\*---------------------------------------------------------*/
|
|
|
|
#pragma once
|
|
|
|
#include "RGBController.h"
|
|
#include "JGINYUEInternalUSBV2Controller.h"
|
|
|
|
class RGBController_JGINYUEInternalUSBV2 : public RGBController
|
|
{
|
|
public:
|
|
RGBController_JGINYUEInternalUSBV2(JGINYUEInternalUSBV2Controller* controller_ptr);
|
|
~RGBController_JGINYUEInternalUSBV2();
|
|
|
|
void SetupZones();
|
|
|
|
void ResizeZone(int zone, int new_size);
|
|
|
|
void DeviceUpdateLEDs();
|
|
void UpdateZoneLEDs(int zone);
|
|
void UpdateSingleLED(int led);
|
|
|
|
void DeviceUpdateMode();
|
|
void DeviceUpdateZoneMode(int zone);
|
|
|
|
private:
|
|
JGINYUEInternalUSBV2Controller* controller;
|
|
void InitZones();
|
|
};
|