mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-24 01:18:53 -04:00
Store name in DasKeyboardController to avoid setting it in detector
This commit is contained in:
1 parent
e6190ec275
commit
718962c188
4 files changed
+41
-80
No files matched your search
@@ -214,11 +214,11 @@ RGBController_DasKeyboard::RGBController_DasKeyboard(DasKeyboardController* cont
|
||||
|
||||
updateDevice = true;
|
||||
|
||||
name = "Das Keyboard Device";
|
||||
name = controller->GetNameString();
|
||||
vendor = "Metadot";
|
||||
type = DEVICE_TYPE_KEYBOARD;
|
||||
description = "Das Keyboard Device";
|
||||
location = controller->GetDeviceLocation();
|
||||
location = controller->GetLocationString();
|
||||
serial = controller->GetSerialString();
|
||||
version = controller->GetVersionString();
|
||||
|
||||
@@ -242,6 +242,8 @@ RGBController_DasKeyboard::RGBController_DasKeyboard(DasKeyboardController* cont
|
||||
modes[3].value = DAS_KEYBOARD_MODE_SPECTRUM_CYCLE;
|
||||
modes[3].flags = MODE_FLAG_HAS_PER_LED_COLOR;
|
||||
modes[3].color_mode = MODE_COLORS_PER_LED;
|
||||
|
||||
SetupZones();
|
||||
}
|
||||
|
||||
RGBController_DasKeyboard::~RGBController_DasKeyboard()
|
||||
|
||||
Reference in new issue
Block a user