forked from mirror/qmk_firmware
Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -19,8 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#define USE_I2C
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGBLED_NUM 2
|
||||
#define RGBLIGHT_LAYERS
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rgblight": {
|
||||
"led_count": 2,
|
||||
"split_count": [1, 1]
|
||||
},
|
||||
"ws2812": {
|
||||
|
||||
@@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* Split hand configration */
|
||||
#define SPLIT_HAND_MATRIX_GRID D4,D3
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGBLED_NUM 84
|
||||
#define RGBLIGHT_LAYERS
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"pin": "D2"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 84,
|
||||
"max_brightness": 195,
|
||||
"split_count": [38, 46]
|
||||
},
|
||||
|
||||
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 3
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
#if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
"device_version": "0.0.1",
|
||||
"force_nkro": true
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 3
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D2"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user