Update Nollie controller files to new standardized header comment
This commit is contained in:
parent
9df2289bf4
commit
1526cbec6c
5 changed files with 62 additions and 38 deletions
|
|
@ -1,14 +1,17 @@
|
|||
/*-----------------------------------------*\
|
||||
| NollieController.cpp |
|
||||
| |
|
||||
| Driver for Nollie32 LED strip controller |
|
||||
| |
|
||||
| Name (cnn1236661) 25th Jun 2023 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| NollieController.cpp |
|
||||
| |
|
||||
| Driver for Nollie |
|
||||
| |
|
||||
| Name (cnn1236661) 25 Jun 2023 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <cstring>
|
||||
#include "NollieController.h"
|
||||
#include "RGBController_Nollie.h"
|
||||
#include <cstring>
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,16 +1,20 @@
|
|||
/*-----------------------------------------*\
|
||||
| RGBController.h |
|
||||
| |
|
||||
| Driver for Nollie32 LED strip controller |
|
||||
| |
|
||||
| Name (cnn1236661) 25th Jun 2023 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| NollieController.h |
|
||||
| |
|
||||
| Driver for Nollie |
|
||||
| |
|
||||
| Name (cnn1236661) 25 Jun 2023 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "RGBController.h"
|
||||
#include <chrono>
|
||||
#include <vector>
|
||||
#include <hidapi/hidapi.h>
|
||||
#pragma once
|
||||
#include "RGBController.h"
|
||||
|
||||
class NollieController
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,17 +1,20 @@
|
|||
/*-----------------------------------------*\
|
||||
| NollieControllerDetect.cpp |
|
||||
| |
|
||||
| Driver for Nollie32 LED strip controller |
|
||||
| |
|
||||
| Name (cnn1236661) 25th Jun 2023 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| NollieControllerDetect.cpp |
|
||||
| |
|
||||
| Detector for Nollie |
|
||||
| |
|
||||
| Name (cnn1236661) 25 Jun 2023 |
|
||||
| |
|
||||
| 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 "NollieController.h"
|
||||
#include "RGBController.h"
|
||||
#include "RGBController_Nollie.h"
|
||||
#include <vector>
|
||||
#include <hidapi/hidapi.h>
|
||||
|
||||
void DetectNollieControllers(hid_device_info* info, const std::string& name)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,19 @@
|
|||
/**------------------------------------------------------------------*\
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_Nollie.cpp |
|
||||
| |
|
||||
| RGBController for Nollie |
|
||||
| |
|
||||
| Name (cnn1236661) 25 Jun 2023 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
#include "RGBController_Nollie.h"
|
||||
|
||||
/**------------------------------------------------------------------*\
|
||||
@name Nollie Controller
|
||||
@category LEDStrip
|
||||
@type USB
|
||||
|
|
@ -9,10 +24,6 @@
|
|||
@comment
|
||||
\*-------------------------------------------------------------------*/
|
||||
|
||||
#include "RGBController_Nollie.h"
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
||||
RGBController_Nollie::RGBController_Nollie(NollieController* controller_ptr)
|
||||
{
|
||||
controller = controller_ptr;
|
||||
|
|
|
|||
|
|
@ -1,10 +1,13 @@
|
|||
/*-----------------------------------------*\
|
||||
| RGBController_Nollie.h |
|
||||
| |
|
||||
| Driver for Nollie32 LED strip controller |
|
||||
| |
|
||||
| Name (cnn1236661) 25th Jun 2023 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_Nollie.h |
|
||||
| |
|
||||
| RGBController for Nollie |
|
||||
| |
|
||||
| Name (cnn1236661) 25 Jun 2023 |
|
||||
| |
|
||||
| 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