Move RGBLIGHT_SLEEP to data driven (#21072)

This commit is contained in:
Ryan 2023-06-16 14:04:45 +10:00 committed by GitHub
parent 579db6131e
commit 2367d8129c
Failed to generate hash of commit
805 changed files with 991 additions and 563 deletions

View file

@ -35,7 +35,6 @@
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#define RGBLIGHT_SLEEP
#define CAPS_PIN D3
#define NUM_PIN F7

View file

@ -9,6 +9,7 @@
"device_version": "0.0.1"
},
"rgblight": {
"sleep": true,
"led_map": [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 0, 1, 2, 3]
},
"ws2812": {

View file

@ -44,5 +44,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 16
#define RGBLIGHT_SLEEP
#define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB

View file

@ -12,6 +12,9 @@
"caps_lock": "B6",
"scroll_lock": "B5"
},
"rgblight": {
"sleep": true
},
"ws2812": {
"pin": "B8"
},

View file

@ -18,5 +18,4 @@
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#define RGBLIGHT_SLEEP
#define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB

View file

@ -8,6 +8,9 @@
"pid": "0x8712",
"device_version": "0.0.1"
},
"rgblight": {
"sleep": true
},
"ws2812": {
"pin": "B3"
},