mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-02-14 17:21:26 -05:00
Get vendor and device names from HID descriptors
This commit is contained in:
@@ -109,12 +109,13 @@ enum
|
||||
class HIDLampArrayController
|
||||
{
|
||||
public:
|
||||
HIDLampArrayController(hid_device *dev_handle, const char *path, std::string dev_name);
|
||||
HIDLampArrayController(hid_device *dev_handle, const char *path);
|
||||
~HIDLampArrayController();
|
||||
|
||||
std::string GetDeviceLocation();
|
||||
std::string GetDeviceName();
|
||||
std::string GetSerialString();
|
||||
std::string GetDeviceSerial();
|
||||
std::string GetDeviceVendor();
|
||||
|
||||
unsigned int GetLampArrayKind();
|
||||
unsigned int GetLampCount();
|
||||
@@ -126,7 +127,6 @@ private:
|
||||
hid_device * dev;
|
||||
HIDLampArrayReportIDs ids;
|
||||
std::string location;
|
||||
std::string name;
|
||||
|
||||
/*-----------------------------------------------------*\
|
||||
| Vector to store lamp attributes for each lamp |
|
||||
|
||||
Reference in New Issue
Block a user