Update Wushi L50 controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-06-30 13:23:40 -05:00
parent 82a23344f8
commit 5bfa134414
5 changed files with 44 additions and 27 deletions

View file

@ -1,8 +1,11 @@
/*-------------------------------------*\
| RGBController_WushiL50USB.cpp |
| |
| interface for Wushi L50 Devices |
\*-------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_WushiL50USB.cpp |
| |
| RGBController for Wushi L50 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_WushiL50USB.h"

View file

@ -1,16 +1,18 @@
/*-------------------------------------*\
| RGBController_WushiL50USB.h |
| |
| interface for Wushi L50 Devices |
\*-------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_WushiL50USB.h |
| |
| RGBController for Wushi L50 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <vector>
#include "WushiL50USBController.h"
#include "RGBController.h"
#include <vector>
class RGBController_WushiL50USB : public RGBController
{
public:

View file

@ -1,11 +1,13 @@
/*-------------------------------------*\
| WushiL50USBController.h |
| |
| interface for Wushi L50 Devices |
\*-------------------------------------*/
/*---------------------------------------------------------*\
| WushiL50USBController.cpp |
| |
| Driver for Wushi L50 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <cstring>
#include "WushiL50USBController.h"
WushiL50USBController::WushiL50USBController(hidapi_wrapper hid_wrapper, hid_device* dev_handle, const char* path)

View file

@ -1,16 +1,17 @@
/*-------------------------------------*\
| WushiL50USBController.h |
| |
| interface for Wushi L50 Devices |
\*-------------------------------------*/
/*---------------------------------------------------------*\
| WushiL50USBController.h |
| |
| Driver for Wushi L50 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"
#include <string>
#include <hidapi/hidapi.h>
#include "RGBController.h"
#include "hidapi_wrapper.h"
#ifndef HID_MAX_STR

View file

@ -1,9 +1,18 @@
/*---------------------------------------------------------*\
| WushiL50USBControllerDetect.cpp |
| |
| Detector for Wushi L50 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <hidapi/hidapi.h>
#include "Detector.h"
#include "LogManager.h"
#include "RGBController.h"
#include "WushiL50USBController.h"
#include "RGBController_WushiL50USB.h"
#include <hidapi/hidapi.h>
/*-----------------------------------------------------*\
| Wushi vendor ID |