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
Failed to generate hash of commit
2160 changed files with 2194 additions and 2058 deletions

View file

@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* RGB Indicators */
#define RGBLED_NUM 3
/* Solenid Pin */
#define SOLENOID_PIN D2

View file

@ -8,6 +8,9 @@
"pid": "0xE881",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 3
},
"ws2812": {
"pin": "E6"
},

View file

@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DYNAMIC_KEYMAP_LAYER_COUNT 3
/* RGB */
#define RGBLED_NUM 12
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View file

@ -8,6 +8,9 @@
"pid": "0xE890",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 12
},
"ws2812": {
"pin": "B0"
},

View file

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGBLED_NUM 24
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View file

@ -8,6 +8,9 @@
"pid": "0xE964",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 24
},
"ws2812": {
"pin": "E6"
},