diff options
| author | Ryan <fauxpark@gmail.com> | 2023-06-06 11:08:04 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-06 11:08:04 +1000 |
| commit | c9cf9712aaefc2356305cbc731d06f1b1948d8c1 (patch) | |
| tree | f5a65b4859b44144b1d9b756f8a7f3bb39191198 /keyboards/halfcliff | |
| parent | f91ca76c783b10b5edc167efeb0825cf8249e097 (diff) | |
Move `RGBLED_SPLIT` to data driven (#21113)
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards/halfcliff')
| -rw-r--r-- | keyboards/halfcliff/config.h | 1 | ||||
| -rw-r--r-- | keyboards/halfcliff/info.json | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/halfcliff/config.h b/keyboards/halfcliff/config.h index 6f5dd093d6..192267af92 100644 --- a/keyboards/halfcliff/config.h +++ b/keyboards/halfcliff/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | 27 | ||
| 28 | #define RGBLED_NUM 10 | 28 | #define RGBLED_NUM 10 |
| 29 | #define RGBLIGHT_SPLIT | 29 | #define RGBLIGHT_SPLIT |
| 30 | #define RGBLED_SPLIT { 5, 5 } | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/halfcliff/info.json b/keyboards/halfcliff/info.json index fb0666fbf4..a0b79ba341 100644 --- a/keyboards/halfcliff/info.json +++ b/keyboards/halfcliff/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "split": { | 16 | "split": { |
| 17 | "soft_serial_pin": "D2" | 17 | "soft_serial_pin": "D2" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "split_count": [5, 5] | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D3" | 23 | "pin": "D3" |
| 21 | }, | 24 | }, |
