mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-26 08:47:50 -05:00
25 lines
690 B
C++
25 lines
690 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,
|
|
unsigned char brightness);
|
|
|
|
std::string GetDeviceLocation();
|
|
std::string GetSerialString();
|
|
|
|
private:
|
|
hid_device* dev;
|
|
std::string location;
|
|
};
|