Store name in KeychronKeyboardController to avoid setting it in detector
This commit is contained in:
parent
ca73941e5d
commit
a1f144daf2
4 changed files with 15 additions and 14 deletions
|
|
@ -430,13 +430,13 @@ typedef struct
|
|||
RGBController_KeychronKeyboard::RGBController_KeychronKeyboard(KeychronKeyboardController* controller_ptr)
|
||||
{
|
||||
controller = controller_ptr;
|
||||
name = "Keychron Keyboard";
|
||||
|
||||
name = controller->GetNameString();
|
||||
vendor = "Keychron";
|
||||
type = DEVICE_TYPE_KEYBOARD;
|
||||
description = name;
|
||||
location = controller->GetDeviceLocation();
|
||||
serial = controller->GetSerialString();
|
||||
version = controller->GetFirmwareVersion();
|
||||
|
||||
mode Custom;
|
||||
Custom.name = "Custom";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue