1
0
Fork 0

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

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan 2023-06-24 17:37:54 +10:00 committed by GitHub
parent 6545eb64a0
commit 4ae9bfd17a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1279 changed files with 1245 additions and 2182 deletions

View file

@ -27,12 +27,3 @@
#define SPLIT_WPM_ENABLE
#define SPLIT_OLED_ENABLE
#define SPLIT_TRANSPORT_MIRROR
// Add RGB underglow
// by defining in the keyboard, incompatible keymaps will fail to compile.
#ifdef RGBLIGHT_ENABLE
# define RGBLIGHT_HUE_STEP 10
# define RGBLIGHT_SAT_STEP 17
# define RGBLIGHT_VAL_STEP 17
//# define RGBLIGHT_LAYERS //Enable layer light indicators. Not required as updates are done in layer_state_set_user and led_update_user (+588).
#endif

View file

@ -10,6 +10,7 @@
"pin": "D3"
},
"rgblight": {
"hue_steps": 10,
"led_count": 74,
"max_brightness": 100,
"led_map": [28, 16, 4, 1, 13, 25, 10, 36, 35, 34, 33, 32, 31, 30, 29, 27, 26, 24, 23, 22, 21, 20, 19, 18, 17, 15, 14, 12, 11, 9, 8, 7, 6, 5, 3, 2, 0, 45, 57, 69, 72, 60, 48, 63, 37, 38, 39, 40, 41, 42, 43, 44, 46, 47, 49, 50, 51, 52, 53, 54, 55, 56, 58, 59, 61, 62, 64, 65, 66, 67, 68, 70, 71, 73],