mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-24 01:18:53 -04:00
Store name in EVisionKeyboardControllers to avoid setting it in detectors
This commit is contained in:
1 parent
d7f0872690
commit
abe7068197
8 files changed
+259
-258
No files matched your search
@@ -94,10 +94,11 @@ enum
|
||||
class EVisionKeyboardController
|
||||
{
|
||||
public:
|
||||
EVisionKeyboardController(hid_device* dev_handle, const char* path);
|
||||
EVisionKeyboardController(hid_device* dev_handle, const char* path, std::string dev_name);
|
||||
~EVisionKeyboardController();
|
||||
|
||||
std::string GetDeviceLocation();
|
||||
std::string GetNameString();
|
||||
std::string GetSerialString();
|
||||
|
||||
void SetKeyboardColors
|
||||
@@ -137,6 +138,7 @@ public:
|
||||
private:
|
||||
hid_device* dev;
|
||||
std::string location;
|
||||
std::string name;
|
||||
|
||||
void ComputeChecksum
|
||||
(
|
||||
|
||||
Reference in new issue
Block a user