user defined rules and config
zzkt opened this issue · comments
Could be useful to extend how rules.mk
and config.h
settings can be configured to enable more complete/compact keyboard definitions....
e.g. in parallel to the keymaps, a quoted list of pairs...
(CONSOLE_ENABLE t)
generates CONSOLE_ENABLE = yes
(RGB_MATRIX_ENABLE "WS2812")
→ RGB_MATRIX_ENABLE = WS2812
in config.h
(RGB_MATRIX_MAXIMUM_BRIGHTNESS nil)
→ #undef RGB_MATRIX_MAXIMUM_BRIGHTNESS
(RGB_MATRIX_MAXIMUM_BRIGHTNESS 150)
→ #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
more elaborate, some setf
expander?