mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-26 08:47:50 -05:00
37 lines
916 B
C++
37 lines
916 B
C++
/*-----------------------------------------*\
|
|
| HyperXMousematController.h |
|
|
| |
|
|
| Definitions and types for HyperX |
|
|
| mousemat lighting controller |
|
|
| |
|
|
| Adam Honse (CalcProgrammer1) 10/25/2020 |
|
|
\*-----------------------------------------*/
|
|
|
|
#include "RGBController.h"
|
|
|
|
#include <string>
|
|
|
|
#include "hidapi_wrapper.h"
|
|
|
|
#pragma once
|
|
|
|
class HyperXMousematController
|
|
{
|
|
public:
|
|
HyperXMousematController(hidapi_wrapper hid_wrapper, hid_device* dev_handle, const char* path);
|
|
~HyperXMousematController();
|
|
|
|
std::string GetDeviceLocation();
|
|
std::string GetSerialString();
|
|
|
|
void SendDirect
|
|
(
|
|
RGBColor* color_data
|
|
);
|
|
|
|
private:
|
|
hidapi_wrapper wrapper;
|
|
hid_device* dev;
|
|
std::string location;
|
|
};
|