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

@ -613,7 +613,7 @@ void RGBController_KeychronKeyboard::SetupZones()
unsigned int zone_size = 0;
zone keyboard_zone;
keyboard_zone.name = "Keyboard";
keyboard_zone.name = ZONE_EN_KEYBOARD;
keyboard_zone.type = ZONE_TYPE_MATRIX;
keyboard_zone.matrix_map = new matrix_map_type;