summaryrefslogtreecommitdiff
path: root/keyboards/cablecardesigns
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/cablecardesigns')
-rw-r--r--keyboards/cablecardesigns/cypher/rev6/config.h9
-rw-r--r--keyboards/cablecardesigns/cypher/rev6/info.json5
-rw-r--r--keyboards/cablecardesigns/cypher/rev6/rev6.c3
3 files changed, 5 insertions, 12 deletions
diff --git a/keyboards/cablecardesigns/cypher/rev6/config.h b/keyboards/cablecardesigns/cypher/rev6/config.h
index dc8c82f7b0..139341bd7c 100644
--- a/keyboards/cablecardesigns/cypher/rev6/config.h
+++ b/keyboards/cablecardesigns/cypher/rev6/config.h
@@ -2,20 +2,12 @@
// 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 +24,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..0e8006486c 100644
--- a/keyboards/cablecardesigns/cypher/rev6/info.json
+++ b/keyboards/cablecardesigns/cypher/rev6/info.json
@@ -6,6 +6,11 @@
"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,
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