Organize most controller files into subfolders
This commit is contained in:
parent
ba57bad361
commit
d52ad02c5c
415 changed files with 44 additions and 43 deletions
|
|
@ -0,0 +1,39 @@
|
|||
/*-----------------------------------------*\
|
||||
| HyperXPulsefireFPSProController.h |
|
||||
| |
|
||||
| Definitions and types for HyperX |
|
||||
| Pulsefire FPS Pro lighting controller |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 12/26/2020 |
|
||||
\*-----------------------------------------*/
|
||||
|
||||
#include "RGBController.h"
|
||||
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
|
||||
#pragma once
|
||||
|
||||
enum
|
||||
{
|
||||
HYPERX_PULSEFIRE_FPS_PRO_PACKET_ID_DIRECT = 0x0A, /* Direct control packet */
|
||||
};
|
||||
|
||||
class HyperXPulsefireFPSProController
|
||||
{
|
||||
public:
|
||||
HyperXPulsefireFPSProController(hid_device* dev_handle, const char* path);
|
||||
~HyperXPulsefireFPSProController();
|
||||
|
||||
std::string GetDeviceLocation();
|
||||
std::string GetSerialString();
|
||||
|
||||
void SendDirect
|
||||
(
|
||||
RGBColor* color_data
|
||||
);
|
||||
|
||||
private:
|
||||
hid_device* dev;
|
||||
std::string location;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue