mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-11 08:04:16 -04:00
Store name in EVisionKeyboardControllers to avoid setting it in detectors
This commit is contained in:
@@ -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