Fixing regression from 942a842a

+ Adding ZONE_EN_KEYBOARD constant char* to KeyNames
+ Replacing declarations of "Keyboard" zone with new constant char*
+ Adding "Keyboard" zone check RGBController_Razer.cpp before hiding keys
This commit is contained in:
Chris 2022-08-02 00:47:19 +10:00 committed by Adam Honse
parent 2fae06a49a
commit 864422b4bc
38 changed files with 153 additions and 149 deletions

View file

@ -160,7 +160,7 @@ void RGBController_DarkProjectKeyboard::SetupZones()
| Create the Keyboard zone and add the matix map |
\*-------------------------------------------------*/
zone KB_zone;
KB_zone.name = "Keyboard Zone";
KB_zone.name = ZONE_EN_KEYBOARD;
KB_zone.type = ZONE_TYPE_MATRIX;
KB_zone.leds_min = DARKPROKECTKEYBOARD_TKL_KEYCOUNT;
KB_zone.leds_max = DARKPROKECTKEYBOARD_TKL_KEYCOUNT;