Update Lenovo USB controller files to new standardized header comment
This commit is contained in:
parent
47a81009c8
commit
f6e42f0c6d
4 changed files with 54 additions and 42 deletions
|
|
@ -1,11 +1,13 @@
|
|||
/*-------------------------------------------------------------------*\
|
||||
| LenovoUSBController.cpp |
|
||||
| |
|
||||
| Driver for various Lenovo Devices |
|
||||
| |
|
||||
| Cooper Hall (geobot19) 17 Apr 2022 |
|
||||
| |
|
||||
\*-------------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| LenovoUSBController.cpp |
|
||||
| |
|
||||
| Driver for Lenovo USB devices |
|
||||
| |
|
||||
| Cooper Hall (geobot19) 17 Apr 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "LenovoUSBController.h"
|
||||
#include "LogManager.h"
|
||||
|
|
|
|||
|
|
@ -1,21 +1,22 @@
|
|||
/*-------------------------------------------------------------------*\
|
||||
| LenovoUSBController.h |
|
||||
| |
|
||||
| Driver for various Lenovo Devices |
|
||||
| |
|
||||
| Cooper Hall (geobot19) 17 Apr 2022 |
|
||||
| |
|
||||
\*-------------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| LenovoUSBController.h |
|
||||
| |
|
||||
| Driver for Lenovo USB devices |
|
||||
| |
|
||||
| Cooper Hall (geobot19) 17 Apr 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <array>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include "RGBController.h"
|
||||
#include "LogManager.h"
|
||||
|
||||
#include <string>
|
||||
#include <array>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <hidapi/hidapi.h>
|
||||
|
||||
#ifndef HID_MAX_STR
|
||||
#define HID_MAX_STR 255
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,12 +1,23 @@
|
|||
/*---------------------------------------------------------*\
|
||||
| RGBController_Lenovo_USB.cpp |
|
||||
| |
|
||||
| RGBController for Lenovo USB devices |
|
||||
| |
|
||||
| Cooper Hall (geobot19) 17 Apr 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <iomanip>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
#include "LenovoDevices.h"
|
||||
#include "RGBController_LenovoUSB.h"
|
||||
#include "LogManager.h"
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
using namespace std;
|
||||
|
||||
/*--------------------------------------------------------------------------------------*\
|
||||
|
|
|
|||
|
|
@ -1,21 +1,21 @@
|
|||
/*-------------------------------------------------------------------*\
|
||||
| RGBController_LenovoUSB.h |
|
||||
| |
|
||||
| interface for various Lenovo Legion Devices |
|
||||
| |
|
||||
| Cooper Hall (geobot19) 17 Apr 2022 |
|
||||
| |
|
||||
\*-------------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_Lenovo_USB.h |
|
||||
| |
|
||||
| RGBController for Lenovo USB devices |
|
||||
| |
|
||||
| Cooper Hall (geobot19) 17 Apr 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include "LenovoDevices.h"
|
||||
#include "LenovoUSBController.h"
|
||||
#include "RGBController.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
#ifndef RGBCONTROLLER_LENOVOUSB_H
|
||||
#define RGBCONTROLLER_LENOVOUSB_H
|
||||
|
||||
#define NA 0xFFFFFFFF
|
||||
|
||||
class RGBController_LenovoUSB : public RGBController
|
||||
|
|
@ -45,5 +45,3 @@ private:
|
|||
|
||||
LenovoUSBController *controller;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue