summaryrefslogtreecommitdiff
path: root/keyboards/handwired/croxsplit44
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/croxsplit44')
-rw-r--r--keyboards/handwired/croxsplit44/config.h6
-rw-r--r--keyboards/handwired/croxsplit44/croxsplit44.c17
-rw-r--r--keyboards/handwired/croxsplit44/info.json100
3 files changed, 56 insertions, 67 deletions
diff --git a/keyboards/handwired/croxsplit44/config.h b/keyboards/handwired/croxsplit44/config.h
index b76c323641..be2926baf4 100644
--- a/keyboards/handwired/croxsplit44/config.h
+++ b/keyboards/handwired/croxsplit44/config.h
@@ -17,12 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-#define MATRIX_ROW_PINS { D4, D5, D6, D7 }
-#define MATRIX_COL_PINS { B6, B5, B4, D2, C0, C1, F5, F4, F3, F2, F1, F0 }
-
-#define DIODE_DIRECTION COL2ROW
-
#define RGB_DI_PIN C4
#ifdef RGB_DI_PIN
#define RGBLED_NUM 42
diff --git a/keyboards/handwired/croxsplit44/croxsplit44.c b/keyboards/handwired/croxsplit44/croxsplit44.c
deleted file mode 100644
index 4dbc7d4cb5..0000000000
--- a/keyboards/handwired/croxsplit44/croxsplit44.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2021 Samux6146
- *
- * 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 "croxsplit44.h"
diff --git a/keyboards/handwired/croxsplit44/info.json b/keyboards/handwired/croxsplit44/info.json
index 7e5eaca944..fc8279c820 100644
--- a/keyboards/handwired/croxsplit44/info.json
+++ b/keyboards/handwired/croxsplit44/info.json
@@ -8,55 +8,67 @@
"pid": "0x6146",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B6", "B5", "B4", "D2", "C0", "C1", "F5", "F4", "F3", "F2", "F1", "F0"],
+ "rows": ["D4", "D5", "D6", "D7"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "at90usb1286",
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT": {
"layout": [
- {"label":"K00 (D4,B6)", "x":0.5, "y":1.375},
- {"label":"K01 (D4,B5)", "x":1.5, "y":1.375},
- {"label":"K02 (D4,B4)", "x":2.5, "y":1.125},
- {"label":"K03 (D4,D2)", "x":3.5, "y":1},
- {"label":"K04 (D4,C0)", "x":4.5, "y":1.125},
- {"label":"K05 (D4,C1)", "x":5.5, "y":1.25},
- {"label":"K06 (D4,F5)", "x":13, "y":1.25},
- {"label":"K07 (D4,F4)", "x":14, "y":1.125},
- {"label":"K08 (D4,F3)", "x":15, "y":1},
- {"label":"K09 (D4,F2)", "x":16, "y":1.125},
- {"label":"K0A (D4,F1)", "x":17, "y":1.375},
- {"label":"K0B (D4,F0)", "x":18, "y":1.375},
- {"label":"K10 (D5,B6)", "x":0.5, "y":2.375},
- {"label":"K11 (D5,B5)", "x":1.5, "y":2.375},
- {"label":"K12 (D5,B4)", "x":2.5, "y":2.125},
- {"label":"K13 (D5,D2)", "x":3.5, "y":2},
- {"label":"K14 (D5,C0)", "x":4.5, "y":2.125},
- {"label":"K15 (D5,C1)", "x":5.5, "y":2.25},
- {"label":"K16 (D5,F5)", "x":13, "y":2.25},
- {"label":"K17 (D5,F4)", "x":14, "y":2.125},
- {"label":"K18 (D5,F3)", "x":15, "y":2},
- {"label":"K19 (D5,F2)", "x":16, "y":2.125},
- {"label":"K1A (D5,F1)", "x":17, "y":2.375},
- {"label":"K1B (D5,F0)", "x":18, "y":2.375},
- {"label":"K20 (D6,B6)", "x":0.5, "y":3.375},
- {"label":"K21 (D6,B5)", "x":1.5, "y":3.375},
- {"label":"K22 (D6,B4)", "x":2.5, "y":3.125},
- {"label":"K23 (D6,D2)", "x":3.5, "y":3},
- {"label":"K24 (D6,C0)", "x":4.5, "y":3.125},
- {"label":"K25 (D6,C1)", "x":5.5, "y":3.25},
- {"label":"K26 (D6,F5)", "x":13, "y":3.25},
- {"label":"K27 (D6,F4)", "x":14, "y":3.125},
- {"label":"K28 (D6,F3)", "x":15, "y":3},
- {"label":"K29 (D6,F2)", "x":16, "y":3.125},
- {"label":"K2A (D6,F1)", "x":17, "y":3.375},
- {"label":"K2B (D6,F0)", "x":18, "y":3.375},
- {"label":"K32 (D7,B4)", "x":2.5, "y":4.125},
- {"label":"K33 (D7,D2)", "x":3.5, "y":4},
- {"label":"K34 (D7,C0)", "x":4.5, "y":4.5},
- {"label":"K35 (D7,C1)", "x":5.5, "y":4.75},
- {"label":"K36 (D7,F5)", "x":12.75, "y":4.75},
- {"label":"K37 (D7,F4)", "x":13.8, "y":4.375},
- {"label":"K38 (D7,F3)", "x":15, "y":4},
- {"label":"K39 (D7,F2)", "x":16, "y":4.125}
+ {"x":0, "y":0.375},
+ {"x":1, "y":0.375},
+ {"x":2, "y":0.125},
+ {"x":3, "y":0},
+ {"x":4, "y":0.125},
+ {"x":5, "y":0.25},
+
+ {"x":7, "y":0.25},
+ {"x":8, "y":0.125},
+ {"x":9, "y":0},
+ {"x":10, "y":0.125},
+ {"x":11, "y":0.375},
+ {"x":12, "y":0.375},
+
+ {"x":0, "y":1.375},
+ {"x":1, "y":1.375},
+ {"x":2, "y":1.125},
+ {"x":3, "y":1},
+ {"x":4, "y":1.125},
+ {"x":5, "y":1.25},
+
+ {"x":7, "y":1.25},
+ {"x":8, "y":1.125},
+ {"x":9, "y":1},
+ {"x":10, "y":1.125},
+ {"x":11, "y":1.375},
+ {"x":12, "y":1.375},
+
+ {"x":0, "y":2.375},
+ {"x":1, "y":2.375},
+ {"x":2, "y":2.125},
+ {"x":3, "y":2},
+ {"x":4, "y":2.125},
+ {"x":5, "y":2.25},
+
+ {"x":7, "y":2.25},
+ {"x":8, "y":2.125},
+ {"x":9, "y":2},
+ {"x":10, "y":2.125},
+ {"x":11, "y":2.375},
+ {"x":12, "y":2.375},
+
+ {"x":2, "y":3.125},
+ {"x":3, "y":3},
+ {"x":4, "y":3.5},
+ {"x":5, "y":3.75},
+
+ {"x":7, "y":3.75},
+ {"x":8, "y":3.5},
+ {"x":9, "y":3},
+ {"x":10, "y":3.125}
]
}
}