summaryrefslogtreecommitdiff
path: root/keyboards/cipulot/kallos
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/cipulot/kallos')
-rw-r--r--keyboards/cipulot/kallos/config.h10
-rw-r--r--keyboards/cipulot/kallos/info.json5
-rw-r--r--keyboards/cipulot/kallos/kallos.c17
3 files changed, 5 insertions, 27 deletions
diff --git a/keyboards/cipulot/kallos/config.h b/keyboards/cipulot/kallos/config.h
index 66140bc3ed..62e682cd0c 100644
--- a/keyboards/cipulot/kallos/config.h
+++ b/keyboards/cipulot/kallos/config.h
@@ -17,16 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-/* Keyboard Matrix Assignments */
-#define MATRIX_ROW_PINS \
- { B3, B2, F0, C7, F4, F1 }
-#define MATRIX_COL_PINS \
- { F5, F6, C6, B6, B5, B4, D7, D6, D4, D5, D3, F7, D2, D1, B7 }
-
-/* COL2ROW, ROW2COL */
-#define DIODE_DIRECTION COL2ROW
-
/* Lightbar pin and LED count definitions*/
#define RGB_DI_PIN D0
#define RGBLED_NUM 13
diff --git a/keyboards/cipulot/kallos/info.json b/keyboards/cipulot/kallos/info.json
index 1295d76e7f..a0e9aefe17 100644
--- a/keyboards/cipulot/kallos/info.json
+++ b/keyboards/cipulot/kallos/info.json
@@ -8,6 +8,11 @@
"pid": "0x6B7A",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["F5", "F6", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "F7", "D2", "D1", "B7"],
+ "rows": ["B3", "B2", "F0", "C7", "F4", "F1"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/cipulot/kallos/kallos.c b/keyboards/cipulot/kallos/kallos.c
deleted file mode 100644
index 77f41f9075..0000000000
--- a/keyboards/cipulot/kallos/kallos.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2022 Cipulot
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include "kallos.h"