Skip to content

Commit

Permalink
feat: add RGB config for default keyboard mode
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyHaystack committed May 24, 2024
1 parent f423ab4 commit ff0bb2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/glyph/include/glyph_overrides.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ Config glyph_default_config() {
case MODE_KEYBOARD:
mode_config.applicable_backends[0] = COMMS_BACKEND_DINPUT;
mode_config.applicable_backends_count = 1;
mode_config.rgb_config = 1;
break;
default:
mode_config.layout_plate = LAYOUT_PLATE_EVERYTHING;
Expand Down Expand Up @@ -354,7 +355,7 @@ size_t init_secondary_backends_glyph(

// Create new array containing all old backends but with length increased by 1 to make space for
// NeoPixel backend.
CommunicationBackend **new_backends = new CommunicationBackend *[backend_count + 2];
CommunicationBackend **new_backends = new CommunicationBackend *[backend_count + 1];
for (size_t i = 0; i < backend_count; i++) {
new_backends[i] = backends[i];
}
Expand Down

0 comments on commit ff0bb2e

Please sign in to comment.