Repurposes the Win/Mac dip-switch to toggle RGB effects instead of switching default layers
Win side → solid white backlight (RGB_MATRIX_SOLID_COLOR + HSV_WHITE)
Mac side → typing heatmap (RGB_MATRIX_TYPING_HEATMAP), with saturation restored to 255 before switching to prevent the HSV_WHITE sat=0 from washing out the heatmap colors
Implementation notes
factory_test.c already owns dip_switch_update_user, so a new __attribute__((weak)) dip_switch_update_keymap() hook was added to q5_max.c and called from dip_switch_update_kb — the keymap overrides this weak symbol
The original default_layer_set call in dip_switch_update_kb is commented out (not removed) to preserve context
Test plan
Flip switch to Win side → keyboard switches to solid white backlight
Flip switch to Mac side → keyboard switches to colored typing heatmap
Verify brightness is preserved across switch flips
Confirm heatmap shows full color range (not white-only) after returning from solid white
## Summary
- Repurposes the Win/Mac dip-switch to toggle RGB effects instead of switching default layers
- Win side → solid white backlight (`RGB_MATRIX_SOLID_COLOR` + `HSV_WHITE`)
- Mac side → typing heatmap (`RGB_MATRIX_TYPING_HEATMAP`), with saturation restored to 255 before switching to prevent the `HSV_WHITE` sat=0 from washing out the heatmap colors
## Implementation notes
- `factory_test.c` already owns `dip_switch_update_user`, so a new `__attribute__((weak)) dip_switch_update_keymap()` hook was added to `q5_max.c` and called from `dip_switch_update_kb` — the keymap overrides this weak symbol
- The original `default_layer_set` call in `dip_switch_update_kb` is commented out (not removed) to preserve context
## Test plan
- [ ] Flip switch to Win side → keyboard switches to solid white backlight
- [ ] Flip switch to Mac side → keyboard switches to colored typing heatmap
- [ ] Verify brightness is preserved across switch flips
- [ ] Confirm heatmap shows full color range (not white-only) after returning from solid white
Replace the Win/Mac default-layer switch with an RGB effect toggle:
- Win side → solid white backlight
- Mac side → typing heatmap
Add a weak dip_switch_update_keymap() hook in q5_max.c to work around
factory_test.c already owning dip_switch_update_user().
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
RGB_MATRIX_SOLID_COLOR+HSV_WHITE)RGB_MATRIX_TYPING_HEATMAP), with saturation restored to 255 before switching to prevent theHSV_WHITEsat=0 from washing out the heatmap colorsImplementation notes
factory_test.calready ownsdip_switch_update_user, so a new__attribute__((weak)) dip_switch_update_keymap()hook was added toq5_max.cand called fromdip_switch_update_kb— the keymap overrides this weak symboldefault_layer_setcall indip_switch_update_kbis commented out (not removed) to preserve contextTest plan