mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-02-08 06:11:16 -05:00
Initial commit for HID LampArray Controller
This commit is contained in:
20
Controllers/HIDLampArrayController/HIDLampArrayController.h
Normal file
20
Controllers/HIDLampArrayController/HIDLampArrayController.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
|
||||
#include "RGBController.h"
|
||||
|
||||
class HIDLampArrayController
|
||||
{
|
||||
public:
|
||||
HIDLampArrayController(hid_device *dev_handle, const char *path);
|
||||
~HIDLampArrayController();
|
||||
|
||||
std::string GetDeviceLocation();
|
||||
std::string GetSerialString();
|
||||
|
||||
private:
|
||||
hid_device *dev;
|
||||
std::string location;
|
||||
};
|
||||
Reference in New Issue
Block a user