Move RGBLIGHT_HUE/SAT/VAL_STEP to data driven (#21292)

Co-authored-by: Nick Brassel <[email protected]>
This commit is contained in:
RyanandNick Brassel authored and GitHub committed 2023-06-24 17:37:54 +10:00
1 parent 6545eb64a0
commit 4ae9bfd17a
1279 files changed
+1245 -2182

No files matched your search

-3
View File
@@ -26,9 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#endif
/* RGB Lighting */
#define RGBLIGHT_HUE_STEP 4
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
/*== Lighting Layers ==*/
#define RGBLIGHT_LAYERS
// #define RGBLIGHT_MAX_LAYERS 2
+3
View File
@@ -13,6 +13,9 @@
"rows": ["B3", "E6", "F1", "F5", "F7", "B2", "F0", "F4", "F6", "C7"]
},
"rgblight": {
"hue_steps": 4,
"saturation_steps": 8,
"brightness_steps": 8,
"led_count": 7,
"led_map": [1, 2, 0, 3, 4, 5, 6]
},