summaryrefslogtreecommitdiff
path: root/keyboards/boston
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/boston')
-rw-r--r--keyboards/boston/config.h7
-rw-r--r--keyboards/boston/info.json8
-rw-r--r--keyboards/boston/rules.mk3
3 files changed, 8 insertions, 10 deletions
diff --git a/keyboards/boston/config.h b/keyboards/boston/config.h
index 1c175166ee..1dcbcdb5b8 100644
--- a/keyboards/boston/config.h
+++ b/keyboards/boston/config.h
@@ -16,12 +16,6 @@
#pragma once
-#define MATRIX_COL_PINS \
- { B10, B11, B12, B13, B14, B15, A8, A9, A10, A15, B3, B4, B7, B8, B9, C14, C15, F0, A3 }
-#define MATRIX_ROW_PINS \
- { B5, B6, A7, B0, B1, B2, A4 }
-#define DIODE_DIRECTION COL2ROW
-
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
@@ -32,7 +26,6 @@
#define LOCKING_RESYNC_ENABLE
/* Define RGBLED */
-#define RGB_DI_PIN A5
#define RGBLED_NUM 1
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/boston/info.json b/keyboards/boston/info.json
index 1d8e39f29d..f169d0966c 100644
--- a/keyboards/boston/info.json
+++ b/keyboards/boston/info.json
@@ -8,6 +8,11 @@
"pid": "0x4176",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A15", "B3", "B4", "B7", "B8", "B9", "C14", "C15", "F0", "A3"],
+ "rows": ["B5", "B6", "A7", "B0", "B1", "B2", "A4"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "C13", "pin_b": "F1", "resolution": 2}
@@ -18,6 +23,9 @@
"levels": 6,
"breathing": true
},
+ "ws2812": {
+ "pin": "A5"
+ },
"indicators": {
"caps_lock": "A1",
"num_lock": "A0",
diff --git a/keyboards/boston/rules.mk b/keyboards/boston/rules.mk
index 8d99a6cd0b..176d6b7982 100644
--- a/keyboards/boston/rules.mk
+++ b/keyboards/boston/rules.mk
@@ -14,6 +14,3 @@ ENCODER_ENABLE = yes
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
-
-# RGB setting
-WS2812_DRIVER = bitbang