summaryrefslogtreecommitdiff
path: root/keyboards/cosmo65
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-11 00:32:05 +1100
committerGitHub <noreply@github.com>2023-03-11 00:32:05 +1100
commit76cc7fe109d66c1e0ac16b27b2f691e7d55792d3 (patch)
treef25535b5a7d7d489b5bb77b5c8c57b24ba78a849 /keyboards/cosmo65
parent9e64300e67720a5468c2585391250ca5579b311b (diff)
Move matrix config to info.json, part 6 (#20019)
Diffstat (limited to 'keyboards/cosmo65')
-rw-r--r--keyboards/cosmo65/config.h5
-rw-r--r--keyboards/cosmo65/info.json5
2 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/cosmo65/config.h b/keyboards/cosmo65/config.h
index b8131f5d7d..b8a063e9ab 100644
--- a/keyboards/cosmo65/config.h
+++ b/keyboards/cosmo65/config.h
@@ -27,8 +27,3 @@ 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
-
-/* keyboard matrix assignments */
-#define MATRIX_ROW_PINS { D5, D0, F0, F5, F4 }
-#define MATRIX_COL_PINS { E6, D4, D6, D7, B4, B5, B6, C6, C7, D1, D2, D3, F1, F6 }
-#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/cosmo65/info.json b/keyboards/cosmo65/info.json
index 436e08038d..b98db6c790 100644
--- a/keyboards/cosmo65/info.json
+++ b/keyboards/cosmo65/info.json
@@ -8,6 +8,11 @@
"pid": "0x6331",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["E6", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "D1", "D2", "D3", "F1", "F6"],
+ "rows": ["D5", "D0", "F0", "F5", "F4"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {