Initial commit for AOC AGON AMM700 mousemat

This commit is contained in:
Adam Honse 2023-04-15 23:48:55 -05:00
parent 490e4df1fc
commit e8163043c5
6 changed files with 290 additions and 0 deletions

View file

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