forked from mirrors/qmk_userspace
Move RGBLED_NUM
to data driven (#21278)
This commit is contained in:
parent
7178645be7
commit
b1783db4ea
2160 changed files with 2194 additions and 2058 deletions
|
@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define WS2812_DMA_CHANNEL 2 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.
|
||||
#define WS2812_PWM_TARGET_PERIOD 800000
|
||||
|
||||
# define RGBLED_NUM 24
|
||||
# define RGBLIGHT_HUE_STEP 8
|
||||
# define RGBLIGHT_SAT_STEP 8
|
||||
# define RGBLIGHT_VAL_STEP 8
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
"device_version": "0.0.1"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 24,
|
||||
"sleep": true,
|
||||
"led_map": [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1]
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue