Update HP Omen 30L controller files to new standardized header comment
This commit is contained in:
parent
4aa92c6272
commit
acff88590c
5 changed files with 49 additions and 32 deletions
|
|
@ -1,14 +1,16 @@
|
|||
/*-----------------------------------------*\
|
||||
| HPOmen30LController.cpp |
|
||||
| |
|
||||
| Driver for HP Omen 30L RGB lighting |
|
||||
| controller |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| HPOmen30LController.cpp |
|
||||
| |
|
||||
| Driver for HP Omen 30L |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "HPOmen30LController.h"
|
||||
#include <cstring>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "HPOmen30LController.h"
|
||||
|
||||
HPOmen30LController::HPOmen30LController(hid_device* dev_handle, const char* path)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,17 +1,19 @@
|
|||
/*-----------------------------------------*\
|
||||
| HPOmen30LController.h |
|
||||
| |
|
||||
| Driver for HP Omen 30L RGB lighting |
|
||||
| controller |
|
||||
\*-----------------------------------------*/
|
||||
|
||||
#include "RGBController.h"
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include <vector>
|
||||
/*---------------------------------------------------------*\
|
||||
| HPOmen30LController.h |
|
||||
| |
|
||||
| Driver for HP Omen 30L |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include "RGBController.h"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
unsigned char value;
|
||||
|
|
@ -27,7 +29,6 @@ enum
|
|||
HP_OMEN_30L_BREATHING = 0x06, /* Breathing effect channel */
|
||||
HP_OMEN_30L_COLOR_CYCLE = 0x07, /* Color cycle effect channel */
|
||||
HP_OMEN_30L_BLINKING = 0x08, /* Led blink */
|
||||
|
||||
};
|
||||
|
||||
enum
|
||||
|
|
@ -70,5 +71,4 @@ private:
|
|||
std::vector<hp_zone> hp_zones;
|
||||
|
||||
void SendZoneUpdate(int zone, std::vector<RGBColor> colors);
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,8 +1,17 @@
|
|||
/*---------------------------------------------------------*\
|
||||
| HPOmen30LControllerDetect.cpp |
|
||||
| |
|
||||
| Detector for HP Omen 30L |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <hidapi/hidapi.h>
|
||||
#include "Detector.h"
|
||||
#include "HPOmen30LController.h"
|
||||
#include "RGBController.h"
|
||||
#include "RGBController_HPOmen30L.h"
|
||||
#include <hidapi/hidapi.h>
|
||||
|
||||
#define HP_OMEN_30L_VID 0x103C
|
||||
#define HP_OMEN_30L_PID 0x84FD
|
||||
|
|
|
|||
|
|
@ -1,8 +1,11 @@
|
|||
/*-----------------------------------------*\
|
||||
| RGBController_HPOmen30L.cpp |
|
||||
| |
|
||||
| Generic RGB Interface for HP Omen 30L |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_HPOmen30L.cpp |
|
||||
| |
|
||||
| RGBController for HP Omen 30L |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "RGBController_HPOmen30L.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,14 @@
|
|||
/*-----------------------------------------*\
|
||||
| RGBController_HPOmen30L.h |
|
||||
| |
|
||||
| Generic RGB Interface for HP Omen 30L |
|
||||
| |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_HPOmen30L.h |
|
||||
| |
|
||||
| RGBController for HP Omen 30L |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "RGBController.h"
|
||||
#include "HPOmen30LController.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue