Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -15,8 +15,6 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 2
|
||||
|
||||
// Save as much space as we can...
|
||||
#define LAYER_STATE_8BIT
|
||||
#define NO_ACTION_LAYER
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
"pid": "0x0202",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 2
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B2"
|
||||
},
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
"pin": "D5",
|
||||
"levels": 6
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 2
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "C6"
|
||||
},
|
||||
|
||||
@@ -30,7 +30,6 @@ further optimizations can be done on that side.
|
||||
*/
|
||||
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
#define RGBLED_NUM 2
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
#define RGBLIGHT_VAL_STEP 17
|
||||
|
||||
@@ -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 6 // Number of LEDs
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
#define RGBLIGHT_VAL_STEP 17
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
"levels": 6,
|
||||
"on_state": 0
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 6
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "F6"
|
||||
},
|
||||
|
||||
@@ -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 12
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
#define RGBLIGHT_VAL_STEP 17
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
"levels": 6,
|
||||
"on_state": 0
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 12
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "F6"
|
||||
},
|
||||
|
||||
@@ -49,7 +49,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 12 // number of LEDs
|
||||
#define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue
|
||||
#define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation
|
||||
#define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness)
|
||||
|
||||
@@ -19,6 +19,9 @@
|
||||
"breathing": true,
|
||||
"on_state": 0
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 12
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "F6"
|
||||
},
|
||||
|
||||
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
# define RGBLED_NUM 6
|
||||
# define RGBLIGHT_HUE_STEP 12
|
||||
# define RGBLIGHT_SAT_STEP 25
|
||||
# define RGBLIGHT_VAL_STEP 12
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
"levels": 6,
|
||||
"on_state": 0
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 6
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "F6"
|
||||
},
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#define MATRIX_ROWS 6
|
||||
#define MATRIX_COLS 15
|
||||
|
||||
#define RGBLED_NUM 7
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
"caps_lock": "B6",
|
||||
"on_state": 0
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 7
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "C7"
|
||||
},
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 12
|
||||
// #define RGBLIGHT_HUE_STEP 8
|
||||
// #define RGBLIGHT_SAT_STEP 8
|
||||
// #define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
"on_state": 0
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 12,
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
|
||||
@@ -27,7 +27,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 14
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -21,6 +21,9 @@
|
||||
"caps_lock": "E2",
|
||||
"on_state": 0
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 14
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B7"
|
||||
},
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#define MATRIX_ROWS 6
|
||||
#define MATRIX_COLS 18
|
||||
|
||||
#define RGBLED_NUM 16
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
"levels": 10
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 16,
|
||||
"max_brightness": 50
|
||||
},
|
||||
"indicators": {
|
||||
|
||||
Reference in New Issue
Block a user