mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-05-04 23:12:57 +00:00
Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 9
|
||||
#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": 9,
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
|
||||
@@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define WS2812_DMA_STREAM STM32_DMA1_STREAM3
|
||||
#define WS2812_DMA_CHANNEL 3
|
||||
|
||||
#define RGBLED_NUM 20
|
||||
#define RGB_MATRIX_LED_COUNT 20
|
||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 210
|
||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
|
||||
@@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define WS2812_DMA_STREAM STM32_DMA1_STREAM3
|
||||
#define WS2812_DMA_CHANNEL 3
|
||||
|
||||
#define RGBLED_NUM 68
|
||||
#define RGB_MATRIX_LED_COUNT 68
|
||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 130
|
||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
|
||||
@@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define WS2812_DMA_STREAM STM32_DMA1_STREAM3
|
||||
#define WS2812_DMA_CHANNEL 3
|
||||
|
||||
#define RGBLED_NUM 87
|
||||
#define RGB_MATRIX_LED_COUNT 87
|
||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 114
|
||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
|
||||
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 4
|
||||
// #define RGBLIGHT_HUE_STEP 8
|
||||
// #define RGBLIGHT_SAT_STEP 8
|
||||
// #define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
"pin": "B7",
|
||||
"levels": 10
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 4
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user