From 47966dc2a65c88ac90fcd64d12243d72f3f6753b Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 6 Apr 2023 18:00:54 +1000 Subject: Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303) --- keyboards/8pack/config.h | 1 - keyboards/8pack/info.json | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'keyboards/8pack') diff --git a/keyboards/8pack/config.h b/keyboards/8pack/config.h index fe5d7a4982..5139d4cf69 100644 --- a/keyboards/8pack/config.h +++ b/keyboards/8pack/config.h @@ -7,7 +7,6 @@ #define LOCKING_RESYNC_ENABLE // ws2812 options -#define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to #define RGBLED_NUM 8 // number of LEDs #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/8pack/info.json b/keyboards/8pack/info.json index 3e6b556fae..45dec97b33 100644 --- a/keyboards/8pack/info.json +++ b/keyboards/8pack/info.json @@ -11,6 +11,9 @@ "pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"], "levels": 8 }, + "ws2812": { + "pin": "D2" + }, "processor": "atmega32u4", "bootloader": "caterina", "matrix_pins": { -- cgit v1.2.3 From a5e46d80822797cd2e0dc2a2b81c4ccce9e167f4 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 3 May 2023 12:19:34 +1000 Subject: More `info.json` whitespace cleanups (#20665) --- keyboards/8pack/rev11/info.json | 16 ++++++++-------- keyboards/8pack/rev12/info.json | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) (limited to 'keyboards/8pack') diff --git a/keyboards/8pack/rev11/info.json b/keyboards/8pack/rev11/info.json index 6d4d61fe13..9e64760a3b 100644 --- a/keyboards/8pack/rev11/info.json +++ b/keyboards/8pack/rev11/info.json @@ -5,14 +5,14 @@ "layouts": { "LAYOUT": { "layout": [ - {"x":0, "y":0, "matrix": [1, 3]}, - {"x":1, "y":0, "matrix": [1, 2]}, - {"x":2, "y":0, "matrix": [1, 1]}, - {"x":3, "y":0, "matrix": [1, 0]}, - {"x":0, "y":1, "matrix": [0, 3]}, - {"x":1, "y":1, "matrix": [0, 2]}, - {"x":2, "y":1, "matrix": [0, 1]}, - {"x":3, "y":1, "matrix": [0, 0]} + {"x": 0, "y": 0, "matrix": [1, 3]}, + {"x": 1, "y": 0, "matrix": [1, 2]}, + {"x": 2, "y": 0, "matrix": [1, 1]}, + {"x": 3, "y": 0, "matrix": [1, 0]}, + {"x": 0, "y": 1, "matrix": [0, 3]}, + {"x": 1, "y": 1, "matrix": [0, 2]}, + {"x": 2, "y": 1, "matrix": [0, 1]}, + {"x": 3, "y": 1, "matrix": [0, 0]} ] } } diff --git a/keyboards/8pack/rev12/info.json b/keyboards/8pack/rev12/info.json index 05b1a290ae..1fa5317923 100644 --- a/keyboards/8pack/rev12/info.json +++ b/keyboards/8pack/rev12/info.json @@ -5,14 +5,14 @@ "layouts": { "LAYOUT": { "layout": [ - {"x":0, "y":0, "matrix": [0, 3]}, - {"x":1, "y":0, "matrix": [0, 2]}, - {"x":2, "y":0, "matrix": [0, 1]}, - {"x":3, "y":0, "matrix": [0, 0]}, - {"x":0, "y":1, "matrix": [1, 3]}, - {"x":1, "y":1, "matrix": [1, 2]}, - {"x":2, "y":1, "matrix": [1, 1]}, - {"x":3, "y":1, "matrix": [1, 0]} + {"x": 0, "y": 0, "matrix": [0, 3]}, + {"x": 1, "y": 0, "matrix": [0, 2]}, + {"x": 2, "y": 0, "matrix": [0, 1]}, + {"x": 3, "y": 0, "matrix": [0, 0]}, + {"x": 0, "y": 1, "matrix": [1, 3]}, + {"x": 1, "y": 1, "matrix": [1, 2]}, + {"x": 2, "y": 1, "matrix": [1, 1]}, + {"x": 3, "y": 1, "matrix": [1, 0]} ] } } -- cgit v1.2.3