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 8
|
||||
# define RGBLIGHT_HUE_STEP 12
|
||||
# define RGBLIGHT_SAT_STEP 25
|
||||
# define RGBLIGHT_VAL_STEP 12
|
||||
|
||||
@@ -21,6 +21,9 @@
|
||||
"caps_lock": "C6",
|
||||
"on_state": 0
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 8
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "C7"
|
||||
},
|
||||
|
||||
@@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 1 // Number of LEDs
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
"pin": "C6"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 1,
|
||||
"max_brightness": 200
|
||||
},
|
||||
"processor": "atmega32u2",
|
||||
|
||||
Reference in New Issue
Block a user