Update JGINYUE USB controller files to new standardized header comment
This commit is contained in:
parent
680821f164
commit
beac78dcb6
5 changed files with 71 additions and 54 deletions
|
|
@ -1,20 +1,19 @@
|
|||
/*-----------------------------------------*\
|
||||
| JGINYUEInternalUSBController.cpp |
|
||||
| |
|
||||
| Driver for JGINYUE internal USB |
|
||||
| lighting controller |
|
||||
| |
|
||||
| Tong R (tcr020) 2023/08/09 |
|
||||
| Liu ShiMeng(Moon dream stars) 2003/08/09|
|
||||
| |
|
||||
| Dongguan Yonghang Electronic |
|
||||
| Technology Co., Ltd |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| JGINYUEInternalUSBController.cpp |
|
||||
| |
|
||||
| Driver for JGINYUE USB motherboard |
|
||||
| |
|
||||
| Tong R (tcr020) 09 Aug 2023 |
|
||||
| Liu ShiMeng(Moon dream stars) 09 Aug 2023 |
|
||||
| Dongguan Yonghang Electronic Technology Co., Ltd |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "RGBController.h"
|
||||
#include "ResourceManager.h"
|
||||
#include "SettingsManager.h"
|
||||
|
|
|
|||
|
|
@ -1,21 +1,21 @@
|
|||
/*-----------------------------------------*\
|
||||
| JGINYUEInternalUSBController.h |
|
||||
| |
|
||||
| Driver for JGINYUE internal USB |
|
||||
| lighting controller |
|
||||
| |
|
||||
| Tong R (tcr020) 2023/08/09 |
|
||||
| Liu ShiMeng(Moon dream stars) 2003/08/09|
|
||||
| |
|
||||
| Dongguan Yonghang Electronic |
|
||||
| Technology Co., Ltd |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| JGINYUEInternalUSBController.h |
|
||||
| |
|
||||
| Driver for JGINYUE USB motherboard |
|
||||
| |
|
||||
| Tong R (tcr020) 09 Aug 2023 |
|
||||
| Liu ShiMeng(Moon dream stars) 09 Aug 2023 |
|
||||
| Dongguan Yonghang Electronic Technology Co., Ltd |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "RGBController.h"
|
||||
#include <hidapi/hidapi.h>
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include "RGBController.h"
|
||||
|
||||
#define JGINYUE_MAX_ZONES 2
|
||||
#define JGINYUE_ADDRESSABLE_MAX_LEDS 100
|
||||
|
|
|
|||
|
|
@ -1,11 +1,24 @@
|
|||
/*---------------------------------------------------------*\
|
||||
| JGINYUEInternalUSBControllerDetect.cpp |
|
||||
| |
|
||||
| Detector for JGINYUE USB motherboard |
|
||||
| |
|
||||
| Tong R (tcr020) 09 Aug 2023 |
|
||||
| Liu ShiMeng(Moon dream stars) 09 Aug 2023 |
|
||||
| Dongguan Yonghang Electronic Technology Co., Ltd |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <vector>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include "RGBController_JGINYUEInternalUSB.h"
|
||||
#include "JGINYUEInternalUSBController.h"
|
||||
#include "RGBController.h"
|
||||
#include "Detector.h"
|
||||
#include <vector>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <hidapi/hidapi.h>
|
||||
|
||||
/*---------------------------------------------------------*\
|
||||
| JGINYUE vendor ID |
|
||||
|
|
|
|||
|
|
@ -1,19 +1,22 @@
|
|||
/*------------------------------------------------*\
|
||||
| RGBController_JGINYUEInternalUSB.cpp |
|
||||
| |
|
||||
| Generic RGB Interface JGINYUEInternalUSB Class |
|
||||
| |
|
||||
| Tong R (tcr020) 2023/08/09 |
|
||||
| Liu ShiMeng (Moon dream stars) 2003/08/09 |
|
||||
| |
|
||||
| Dongguan Yonghang Electronic Technology Co., Ltd|
|
||||
\*------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_JGINYUEInternalUSB.cpp |
|
||||
| |
|
||||
| RGBController for JGINYUE USB motherboard |
|
||||
| |
|
||||
| Tong R (tcr020) 09 Aug 2023 |
|
||||
| Liu ShiMeng(Moon dream stars) 09 Aug 2023 |
|
||||
| Dongguan Yonghang Electronic Technology Co., Ltd |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "RGBController_JGINYUEInternalUSB.h"
|
||||
#include <string.h>
|
||||
#include "RGBController_JGINYUEInternalUSB.h"
|
||||
|
||||
#define JGINYUE_MAX_ZONES 2
|
||||
#define JGINYUE_ADDRESSABLE_MAX_LEDS 100
|
||||
|
||||
/**------------------------------------------------------------------*\
|
||||
@name JGINYUEInternalUSB
|
||||
@category MotherBoard
|
||||
|
|
@ -245,9 +248,9 @@ void RGBController_JGINYUEInternalUSB::ResizeZone(int zone, int new_size)
|
|||
}
|
||||
|
||||
zones[zone].leds_count = new_size;
|
||||
|
||||
|
||||
SetupZones();
|
||||
|
||||
|
||||
controller->Area_resize(new_size, area);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,15 @@
|
|||
/*------------------------------------------------*\
|
||||
| RGBController_JGINYUEInternalUSB.h |
|
||||
| |
|
||||
| Generic RGB Interface JGINYUEInternalUSB Class |
|
||||
| |
|
||||
| Tong R (tcr020) 2023/08/09 |
|
||||
| Liu ShiMeng (Moon dream stars) 2003/08/09 |
|
||||
| |
|
||||
| Dongguan Yonghang Electronic Technology Co., Ltd|
|
||||
\*------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_JGINYUEInternalUSB.h |
|
||||
| |
|
||||
| RGBController for JGINYUE USB motherboard |
|
||||
| |
|
||||
| Tong R (tcr020) 09 Aug 2023 |
|
||||
| Liu ShiMeng(Moon dream stars) 09 Aug 2023 |
|
||||
| Dongguan Yonghang Electronic Technology Co., Ltd |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue