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
805 changed files with 991 additions and 563 deletions

View File

@@ -29,7 +29,6 @@
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8
# define RGBLIGHT_VAL_STEP 8
# define RGBLIGHT_SLEEP
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE

View File

@@ -17,6 +17,9 @@
"pin": "B7",
"levels": 5
},
"rgblight": {
"sleep": true
},
"ws2812": {
"pin": "E2"
},

View File

@@ -32,7 +32,6 @@
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 10
#define RGBLIGHT_VAL_STEP 10
#define RGBLIGHT_SLEEP
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE

View File

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