mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-25 08:17:53 -05:00
21 lines
512 B
C++
21 lines
512 B
C++
#include "RGBController.h"
|
|
#include <cstring>
|
|
#include <hidapi/hidapi.h>
|
|
|
|
#pragma once
|
|
|
|
class CreativeSoundBlasterXG6Controller
|
|
{
|
|
public:
|
|
CreativeSoundBlasterXG6Controller(hid_device* dev_handle, const char* path);
|
|
~CreativeSoundBlasterXG6Controller();
|
|
void SetLedColor (unsigned char red, unsigned char green, unsigned char blue);
|
|
|
|
std::string GetDeviceLocation();
|
|
std::string GetSerialString();
|
|
|
|
private:
|
|
hid_device* dev;
|
|
std::string location;
|
|
};
|