summaryrefslogtreecommitdiff
path: root/keyboards/mechlovin/zed65/no_backlight/wearhaus66
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mechlovin/zed65/no_backlight/wearhaus66')
-rw-r--r--keyboards/mechlovin/zed65/no_backlight/wearhaus66/config.h10
-rw-r--r--keyboards/mechlovin/zed65/no_backlight/wearhaus66/info.json9
-rw-r--r--keyboards/mechlovin/zed65/no_backlight/wearhaus66/rules.mk1
3 files changed, 10 insertions, 10 deletions
diff --git a/keyboards/mechlovin/zed65/no_backlight/wearhaus66/config.h b/keyboards/mechlovin/zed65/no_backlight/wearhaus66/config.h
index 67c1ffb2d6..6a0f857d25 100644
--- a/keyboards/mechlovin/zed65/no_backlight/wearhaus66/config.h
+++ b/keyboards/mechlovin/zed65/no_backlight/wearhaus66/config.h
@@ -17,21 +17,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-#define MATRIX_ROW_PINS { B13, B14, A8, A1, A0 }
-#define MATRIX_COL_PINS { B11, B12, B10, B2, B1, B0, A7, A6, A5, A4, A3, A2, B3, A15, B5 }
-
-
#ifdef RGBLIGHT_ENABLE
-#define RGB_DI_PIN B15
#define RGBLED_NUM 24
#define RGBLIGHT_LIMIT_VAL 255
#define WS2812_SPI SPID2 // default: SPID1
#define WS2812_SPI_MOSI_PAL_MODE 0 // MOSI pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 5
-//#define RGB_DI_PIN E2
-//#ifdef RGB_DI_PIN
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8
# define RGBLIGHT_VAL_STEP 8
@@ -47,4 +39,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define RGBLIGHT_EFFECT_STATIC_GRADIENT
# define RGBLIGHT_EFFECT_RGB_TEST
# define RGBLIGHT_EFFECT_ALTERNATING
-#endif \ No newline at end of file
+#endif
diff --git a/keyboards/mechlovin/zed65/no_backlight/wearhaus66/info.json b/keyboards/mechlovin/zed65/no_backlight/wearhaus66/info.json
index e023f83396..fb00050ed8 100644
--- a/keyboards/mechlovin/zed65/no_backlight/wearhaus66/info.json
+++ b/keyboards/mechlovin/zed65/no_backlight/wearhaus66/info.json
@@ -8,9 +8,18 @@
"pid": "0x6602",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B11", "B12", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "B3", "A15", "B5"],
+ "rows": ["B13", "B14", "A8", "A1", "A0"]
+ },
+ "diode_direction": "COL2ROW",
"indicators": {
"caps_lock": "C14"
},
+ "ws2812": {
+ "pin": "B15",
+ "driver": "spi"
+ },
"layout_aliases": {
"LAYOUT_65_ansi_blocker": "LAYOUT_ansi_blocker",
"LAYOUT_65_iso_blocker": "LAYOUT_iso_blocker"
diff --git a/keyboards/mechlovin/zed65/no_backlight/wearhaus66/rules.mk b/keyboards/mechlovin/zed65/no_backlight/wearhaus66/rules.mk
index 48d473fbdb..84ef473c02 100644
--- a/keyboards/mechlovin/zed65/no_backlight/wearhaus66/rules.mk
+++ b/keyboards/mechlovin/zed65/no_backlight/wearhaus66/rules.mk
@@ -1,2 +1 @@
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-WS2812_DRIVER = spi \ No newline at end of file