summaryrefslogtreecommitdiff
path: root/keyboards/cablecardesigns
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/cablecardesigns')
-rw-r--r--keyboards/cablecardesigns/cypher/rev6/config.h10
-rw-r--r--keyboards/cablecardesigns/cypher/rev6/info.json8
-rw-r--r--keyboards/cablecardesigns/cypher/rev6/rev6.c3
3 files changed, 8 insertions, 13 deletions
diff --git a/keyboards/cablecardesigns/cypher/rev6/config.h b/keyboards/cablecardesigns/cypher/rev6/config.h
index dc8c82f7b0..5be5ba8b67 100644
--- a/keyboards/cablecardesigns/cypher/rev6/config.h
+++ b/keyboards/cablecardesigns/cypher/rev6/config.h
@@ -2,20 +2,11 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
-
-#define MATRIX_ROW_PINS { B0, F1, F5, F6, F7, D1, F4, D4, C6, C7 }
-#define MATRIX_COL_PINS { D6, D7, B4, B5, B6, B7, B3, B2, B1, F0 }
-
-/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
-#define DIODE_DIRECTION COL2ROW
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define RGB_DI_PIN D5
-#ifdef RGB_DI_PIN
#define RGBLED_NUM 3
#define RGBLIGHT_HUE_STEP 12
#define RGBLIGHT_SAT_STEP 25
@@ -32,4 +23,3 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-#endif
diff --git a/keyboards/cablecardesigns/cypher/rev6/info.json b/keyboards/cablecardesigns/cypher/rev6/info.json
index 4fc447236e..4301e45de5 100644
--- a/keyboards/cablecardesigns/cypher/rev6/info.json
+++ b/keyboards/cablecardesigns/cypher/rev6/info.json
@@ -6,11 +6,19 @@
"pid": "0xAA99",
"device_version": "0.0.2"
},
+ "matrix_pins": {
+ "cols": ["D6", "D7", "B4", "B5", "B6", "B7", "B3", "B2", "B1", "F0"],
+ "rows": ["B0", "F1", "F5", "F6", "F7", "D1", "F4", "D4", "C6", "C7"]
+ },
+ "diode_direction": "COL2ROW",
"backlight": {
"pin": "D0",
"levels": 5,
"breathing": true
},
+ "ws2812": {
+ "pin": "D5"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/cablecardesigns/cypher/rev6/rev6.c b/keyboards/cablecardesigns/cypher/rev6/rev6.c
deleted file mode 100644
index 56e615122a..0000000000
--- a/keyboards/cablecardesigns/cypher/rev6/rev6.c
+++ /dev/null
@@ -1,3 +0,0 @@
-// Copyright 2022 Cable Car Designs (@westfoxtrot)
-// SPDX-License-Identifier: GPL-2.0-or-later
-#include "rev6.h" \ No newline at end of file