Store name in KeychronKeyboardController to avoid setting it in detector

This commit is contained in:
Adam Honse 2025-08-11 18:29:59 -05:00
parent ca73941e5d
commit a1f144daf2
4 changed files with 15 additions and 14 deletions

View file

@ -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";