Initial support for HyperX Fury Ultra mousemat (Direct mode only)

This commit is contained in:
Adam Honse 2020-10-26 12:51:51 -05:00
parent 41a0f2e7c3
commit 7dfbdade39
6 changed files with 429 additions and 0 deletions

View file

@ -0,0 +1,33 @@
/*-----------------------------------------*\
| HyperXMousematController.h |
| |
| Definitions and types for HyperX |
| mousemat lighting controller |
| |
| Adam Honse (CalcProgrammer1) 10/25/2020 |
\*-----------------------------------------*/
#include "RGBController.h"
#include <string>
#include <hidapi/hidapi.h>
#pragma once
class HyperXMousematController
{
public:
HyperXMousematController(hid_device* dev_handle, const char* path);
~HyperXMousematController();
std::string GetDeviceLocation();
void SendDirect
(
RGBColor* color_data
);
private:
hid_device* dev;
std::string location;
};