Move RGBLED_NUM to data driven (#21278)

This commit is contained in:
Ryan
2023-06-18 14:39:07 +10:00
committed by GitHub
parent 7178645be7
commit b1783db4ea
2160 changed files with 2194 additions and 2058 deletions

View File

@@ -32,7 +32,6 @@
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
#define RGBLED_NUM 14
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -8,6 +8,9 @@
"pid": "0x0006",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 14
},
"ws2812": {
"pin": "A13"
},

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
# define RGBLED_NUM 30
# define RGBLIGHT_HUE_STEP 5
# define RGBLIGHT_SAT_STEP 10
# define RGBLIGHT_VAL_STEP 10

View File

@@ -27,6 +27,9 @@
"num_lock": "D2",
"scroll_lock": "D4"
},
"rgblight": {
"led_count": 30
},
"ws2812": {
"pin": "D7"
},

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGBLED_NUM 9
// #define RGBLIGHT_HUE_STEP 10
// #define RGBLIGHT_SAT_STEP 17
// #define RGBLIGHT_VAL_STEP 17

View File

@@ -9,6 +9,7 @@
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 9,
"sleep": true
},
"ws2812": {

View File

@@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 30 // Number of LEDs
#define RGBLIGHT_HUE_STEP 5
#define RGBLIGHT_SAT_STEP 10
#define RGBLIGHT_VAL_STEP 10

View File

@@ -27,6 +27,9 @@
"num_lock": "D2",
"scroll_lock": "D4"
},
"rgblight": {
"led_count": 30
},
"ws2812": {
"pin": "D7"
},

View File

@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DYNAMIC_KEYMAP_LAYER_COUNT 2 //Reduced layer count due to memory space considerations
#define RGBLED_NUM 22
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -25,6 +25,7 @@
"pin": "E2"
},
"rgblight": {
"led_count": 22,
"max_brightness": 200,
"sleep": true
},