mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-05 14:44:17 -04:00
Store name in RedSquareControllers to avoid setting it in detectors
This commit is contained in:
@@ -60,11 +60,12 @@ enum
|
||||
class RedSquareKeyroxController
|
||||
{
|
||||
public:
|
||||
RedSquareKeyroxController(hid_device *dev_handle, const hid_device_info &info, int variant);
|
||||
RedSquareKeyroxController(hid_device *dev_handle, const hid_device_info &info, int variant, std::string dev_name);
|
||||
~RedSquareKeyroxController();
|
||||
|
||||
int GetVariant();
|
||||
std::string GetDeviceLocation();
|
||||
std::string GetNameString();
|
||||
std::string GetSerialString();
|
||||
|
||||
int GetDirectionLRUD(int direction); // Direction for Left-Right-Up-Down modes
|
||||
@@ -83,6 +84,7 @@ protected:
|
||||
private:
|
||||
int variant;
|
||||
std::string location;
|
||||
std::string name;
|
||||
std::string serial_number;
|
||||
std::vector<unsigned int> led_sequence_positions;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user