Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
# define RGBLED_NUM 7
|
||||
# define RGBLIGHT_HUE_STEP 8
|
||||
# define RGBLIGHT_SAT_STEP 8
|
||||
# define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
"pin": "F1"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 7,
|
||||
"max_brightness": 220,
|
||||
"sleep": true
|
||||
},
|
||||
|
||||
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 16
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
"levels": 12
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 16,
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
|
||||
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
# define RGBLED_NUM 17
|
||||
# define RGBLIGHT_HUE_STEP 8
|
||||
# define RGBLIGHT_SAT_STEP 8
|
||||
# define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
"caps_lock": "E6"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 17,
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
|
||||
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
# define RGBLED_NUM 17
|
||||
# define RGBLIGHT_HUE_STEP 8
|
||||
# define RGBLIGHT_SAT_STEP 8
|
||||
# define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
"caps_lock": "E6"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 17,
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
|
||||
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
# define RGBLED_NUM 16
|
||||
# define RGBLIGHT_HUE_STEP 8
|
||||
# define RGBLIGHT_SAT_STEP 8
|
||||
# define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
"breathing": true
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 16,
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
|
||||
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 22
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
"breathing": true
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 22,
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
|
||||
@@ -32,7 +32,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 24
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 24,
|
||||
"max_brightness": 200,
|
||||
"sleep": true
|
||||
},
|
||||
|
||||
@@ -32,7 +32,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 24
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
"pin": "B7"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 24,
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
|
||||
@@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//EITHERWAY is supported through a custom matrix
|
||||
//#define DIODE_DIRECTION EITHERWAY
|
||||
|
||||
#define RGBLED_NUM 27
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
"pin": "B0"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 27,
|
||||
"max_brightness": 200,
|
||||
"sleep": true
|
||||
},
|
||||
|
||||
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 26
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
"breathing": true
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 26,
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
|
||||
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 16
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"rgblight": {
|
||||
"led_count": 16,
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
|
||||
Reference in New Issue
Block a user