Update Lenovo 4-zone controller files to new standardized header comment
This commit is contained in:
parent
5f79126313
commit
a460e01718
6 changed files with 63 additions and 43 deletions
|
|
@ -1,8 +1,11 @@
|
|||
/*-------------------------------------------------------------------*\
|
||||
| Lenovo4ZoneUSBController.cpp |
|
||||
| |
|
||||
| interface for Lenovo 4-Zones Devices |
|
||||
\*-------------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| Lenovo4ZoneUSBController.cpp |
|
||||
| |
|
||||
| Driver for Lenovo 4-Zone devices |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <iostream>
|
||||
#include "Lenovo4ZoneUSBController.h"
|
||||
|
|
|
|||
|
|
@ -1,21 +1,23 @@
|
|||
/*-------------------------------------------------------------------*\
|
||||
| Lenovo4ZoneUSBController.h |
|
||||
| |
|
||||
| interface for Lenovo 4-Zones Devices |
|
||||
\*-------------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| Lenovo4ZoneUSBController.h |
|
||||
| |
|
||||
| Driver for Lenovo 4-Zone devices |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include "RGBController.h"
|
||||
#include "LogManager.h"
|
||||
#include "LenovoDevices4Zone.h"
|
||||
|
||||
#include <string>
|
||||
#include <array>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <hidapi/hidapi.h>
|
||||
|
||||
#ifndef HID_MAX_STR
|
||||
#define HID_MAX_STR 255
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,16 +1,19 @@
|
|||
/*-------------------------------------------------------------------*\
|
||||
| Lenovo4ZoneUSBDetect.h |
|
||||
| |
|
||||
| Describes zones for Lenovo 4-Zone Device |
|
||||
\*-------------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| Lenovo4ZoneUSBControllerDetect.cpp |
|
||||
| |
|
||||
| Detector for Lenovo 4-Zone devices |
|
||||
| |
|
||||
| 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 "Lenovo4ZoneUSBController.h"
|
||||
#include "LenovoDevices4Zone.h"
|
||||
#include "RGBController_Lenovo4ZoneUSB.h"
|
||||
#include <hidapi/hidapi.h>
|
||||
|
||||
/*-----------------------------------------------------*\
|
||||
| vendor IDs |
|
||||
|
|
@ -1,9 +1,12 @@
|
|||
/*-------------------------------------------------------------------*\
|
||||
| LenovoDevices4Zone.h |
|
||||
| |
|
||||
| Describes zones for Lenovo 4-Zone Device |
|
||||
| |
|
||||
\*-------------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| LenovoDevices4Zone.h |
|
||||
| |
|
||||
| Device list for Lenovo 4-Zone devices |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
|
@ -102,4 +105,3 @@ static const lenovo_led lenovo_4_zone_leds[]
|
|||
{0x02, "Right center"},
|
||||
{0x03, "Right side"},
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,15 +1,23 @@
|
|||
/*---------------------------------------------------------*\
|
||||
| RGBController_Lenovo4ZoneUSB.cpp |
|
||||
| |
|
||||
| Device list for Lenovo 4-Zone devices |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <iomanip>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
#include "Lenovo4ZoneUSBController.h"
|
||||
#include "LenovoDevices4Zone.h"
|
||||
#include "RGBController_Lenovo4ZoneUSB.h"
|
||||
#include "LogManager.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
|
||||
/**------------------------------------------------------------------*\
|
||||
@name Lenovo 4 Zone USB
|
||||
@category Keyboard
|
||||
|
|
|
|||
|
|
@ -1,17 +1,19 @@
|
|||
/*-------------------------------------------------------------------*\
|
||||
| RGBController_Lenovo4ZoneUSB.h |
|
||||
| |
|
||||
| interface for Lenovo 4-Zones Devices |
|
||||
\*-------------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_Lenovo4ZoneUSB.h |
|
||||
| |
|
||||
| RGBController for Lenovo 4-Zone devices |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include "LenovoDevices.h"
|
||||
#include "Lenovo4ZoneUSBController.h"
|
||||
#include "RGBController.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
#define NA 0xFFFFFFFF
|
||||
|
||||
class RGBController_Lenovo4ZoneUSB : public RGBController
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue