mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-27 01:07:49 -05:00
34 lines
873 B
C++
34 lines
873 B
C++
/*-----------------------------------------*\
|
|
| MSI3ZoneController.h |
|
|
| |
|
|
| Definitions and types for MSI/Steelseries|
|
|
| 3-Zone Keyboard lighting controller |
|
|
| |
|
|
| Adam Honse (CalcProgrammer1) 12/25/2019 |
|
|
\*-----------------------------------------*/
|
|
|
|
#include "RGBController.h"
|
|
|
|
#include <string>
|
|
#include <hidapi/hidapi.h>
|
|
|
|
#pragma once
|
|
|
|
class MSI3ZoneController
|
|
{
|
|
public:
|
|
MSI3ZoneController(hid_device* dev_handle, const char* path);
|
|
~MSI3ZoneController();
|
|
|
|
char* GetDeviceName();
|
|
std::string GetDeviceLocation();
|
|
std::string GetSerialString();
|
|
|
|
void SetLEDs(std::vector<RGBColor> colors);
|
|
|
|
private:
|
|
char device_name[32];
|
|
hid_device* dev;
|
|
std::string location;
|
|
};
|