summaryrefslogtreecommitdiff
path: root/keyboards/qwertlekeys/calice
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/qwertlekeys/calice')
-rw-r--r--keyboards/qwertlekeys/calice/calice.c17
-rw-r--r--keyboards/qwertlekeys/calice/config.h7
-rw-r--r--keyboards/qwertlekeys/calice/info.json193
3 files changed, 109 insertions, 108 deletions
diff --git a/keyboards/qwertlekeys/calice/calice.c b/keyboards/qwertlekeys/calice/calice.c
deleted file mode 100644
index d284544964..0000000000
--- a/keyboards/qwertlekeys/calice/calice.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* copyright 2021 Joah Nelson (jels)
-*
-* 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
-* MERAHANTABILITY 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 <https://www.gnu.org/licenses/>.
-*/
-
-#include "calice.h"
diff --git a/keyboards/qwertlekeys/calice/config.h b/keyboards/qwertlekeys/calice/config.h
index 4de51720ea..a15f35c444 100644
--- a/keyboards/qwertlekeys/calice/config.h
+++ b/keyboards/qwertlekeys/calice/config.h
@@ -16,13 +16,6 @@
#pragma once
-/*Define Matrix Pins */
-#define MATRIX_ROW_PINS {F0, F1, F5, F4, C6, C7, B5, B6, D4, D2, D5, D3}
-#define MATRIX_COL_PINS {D7, B4, F7, F6, D1, B7, B3, B2}
-
-/* COL2ROW or ROW2COL */
-#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 */
diff --git a/keyboards/qwertlekeys/calice/info.json b/keyboards/qwertlekeys/calice/info.json
index 5a425f97a8..dc6f25f02c 100644
--- a/keyboards/qwertlekeys/calice/info.json
+++ b/keyboards/qwertlekeys/calice/info.json
@@ -8,6 +8,11 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["D7", "B4", "F7", "F6", "D1", "B7", "B3", "B2"],
+ "rows": ["F0", "F1", "F5", "F4", "C6", "C7", "B5", "B6", "D4", "D2", "D5", "D3"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B0", "pin_b": "B1"}
@@ -23,89 +28,109 @@
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT_all": {
- "layout": [{"label":"1,0", "x":0.5, "y":0},
- {"label":"0,0", "x":1.75, "y":0},
- {"label":"1,1", "x":2.75, "y":0},
- {"label":"0,1", "x":3.75, "y":0},
- {"label":"1,2", "x":4.75, "y":0},
- {"label":"0,2", "x":6.25, "y":0},
- {"label":"1,3", "x":7.25, "y":0},
- {"label":"0,4", "x":8.25, "y":0},
- {"label":"1,4", "x":9.25, "y":0},
- {"label":"0,5", "x":10.75, "y":0},
- {"label":"1,5", "x":11.75, "y":0},
- {"label":"0,6", "x":12.75, "y":0},
- {"label":"1,6", "x":13.75, "y":0},
- {"label":"0,7", "x":15, "y":0},
- {"label":"1,7", "x":16.75, "y":0},
- {"label":"3,7", "x":17, "y":1},
- {"label":"3,0", "x":1.25, "y":1.25},
- {"label":"2,0", "x":2.25, "y":1.25},
- {"label":"3,1", "x":3.25, "y":1.25},
- {"label":"2,1", "x":4.25, "y":1.25},
- {"label":"3,2", "x":5.25, "y":1.25},
- {"label":"2,2", "x":6.25, "y":1.25},
- {"label":"3,3", "x":7.25, "y":1.25},
- {"label":"2,4", "x":8.75, "y":1.25},
- {"label":"3,4", "x":9.75, "y":1.25},
- {"label":"2,5", "x":10.75, "y":1.25},
- {"label":"3,5", "x":11.75, "y":1.25},
- {"label":"2,6", "x":12.75, "y":1.25},
- {"label":"3,6", "x":13.75, "y":1.25},
- {"label":"5,6", "x":14.75, "y":1.25},
- {"label":"2,7", "x":15.75, "y":1.25},
- {"label":"5,7", "x":17.25, "y":2},
- {"label":"5,0", "x":1, "y":2.25, "w":1.5},
- {"label":"4,0", "x":2.5, "y":2.25},
- {"label":"5,1", "x":3.5, "y":2.25},
- {"label":"4,1", "x":4.5, "y":2.25},
- {"label":"5,2", "x":5.5, "y":2.25},
- {"label":"4,2", "x":6.5, "y":2.25},
- {"label":"5,3", "x":8.5, "y":2.25},
- {"label":"4,4", "x":9.5, "y":2.25},
- {"label":"5,4", "x":10.5, "y":2.25},
- {"label":"4,5", "x":11.5, "y":2.25},
- {"label":"5,5", "x":12.5, "y":2.25},
- {"label":"4,6", "x":13.5, "y":2.25},
- {"label":"7,6", "x":14.5, "y":2.25},
- {"label":"4,7", "x":15.5, "y":2.25, "w":1.5},
- {"label":"7,7", "x":17.5, "y":3},
- {"label":"7,0", "x":0.75, "y":3.25, "w":1.75},
- {"label":"6,0", "x":2.5, "y":3.25},
- {"label":"7,1", "x":3.5, "y":3.25},
- {"label":"6,1", "x":4.5, "y":3.25},
- {"label":"7,2", "x":5.5, "y":3.25},
- {"label":"6,2", "x":6.5, "y":3.25},
- {"label":"7,3", "x":9, "y":3.25},
- {"label":"6,4", "x":10, "y":3.25},
- {"label":"7,4", "x":11, "y":3.25},
- {"label":"6,5", "x":12, "y":3.25},
- {"label":"7,5", "x":13, "y":3.25},
- {"label":"6,6", "x":14, "y":3.25},
- {"label":"6,7", "x":15, "y":3.25, "w":2.25},
- {"label":"9,0", "x":0.5, "y":4.25, "w":2.25},
- {"label":"8,0", "x":2.75, "y":4.25},
- {"label":"9,1", "x":3.75, "y":4.25},
- {"label":"8,1", "x":4.75, "y":4.25},
- {"label":"9,2", "x":5.75, "y":4.25},
- {"label":"8,2", "x":6.75, "y":4.25},
- {"label":"9,3", "x":8.75, "y":4.25},
- {"label":"8,4", "x":9.75, "y":4.25},
- {"label":"9,4", "x":10.75, "y":4.25},
- {"label":"8,5", "x":11.75, "y":4.25},
- {"label":"9,5", "x":12.75, "y":4.25},
- {"label":"8,6", "x":13.75, "y":4.25},
- {"label":"9,6", "x":14.75, "y":4.25, "w":1.75},
- {"label":"8,7", "x":16.5, "y":4.25},
- {"label":"11,0", "x":0.5, "y":5.25, "w":1.5},
- {"label":"10,0", "x":3.25, "y":5.25, "w":1.5},
- {"label":"11,2", "x":4.75, "y":5.25, "w":2.25},
- {"label":"10,2", "x":7, "y":5.25},
- {"label":"10,4", "x":8.25, "y":5.25, "w":2.75},
- {"label":"10,5", "x":11, "y":5.25, "w":1.5},
- {"label":"11,6", "x":15.5, "y":5.25},
- {"label":"10,7", "x":16.5, "y":5.25},
- {"label":"11,7", "x":17.5, "y":5.25}]
- }
+ "layout": [
+ {"x":0, "y":0},
+
+ {"x":1.25, "y":0},
+ {"x":2.25, "y":0},
+ {"x":3.25, "y":0},
+ {"x":4.25, "y":0},
+
+ {"x":5.75, "y":0},
+ {"x":6.75, "y":0},
+ {"x":7.75, "y":0},
+ {"x":8.75, "y":0},
+
+ {"x":10.25, "y":0},
+ {"x":11.25, "y":0},
+ {"x":12.25, "y":0},
+ {"x":13.25, "y":0},
+
+ {"x":14.5, "y":0},
+ {"x":16.25, "y":0},
+
+ {"x":0.75, "y":1.25},
+ {"x":1.75, "y":1.25},
+ {"x":2.75, "y":1.25},
+ {"x":3.75, "y":1.25},
+ {"x":4.75, "y":1.25},
+ {"x":5.75, "y":1.25},
+ {"x":6.75, "y":1.25},
+
+ {"x":8.25, "y":1.25},
+ {"x":9.25, "y":1.25},
+ {"x":10.25, "y":1.25},
+ {"x":11.25, "y":1.25},
+ {"x":12.25, "y":1.25},
+ {"x":13.25, "y":1.25},
+ {"x":14.25, "y":1.25},
+ {"x":15.25, "y":1.25},
+
+ {"x":16.5, "y":1},
+
+ {"x":0.5, "y":2.25, "w":1.5},
+ {"x":2, "y":2.25},
+ {"x":3, "y":2.25},
+ {"x":4, "y":2.25},
+ {"x":5, "y":2.25},
+ {"x":6, "y":2.25},
+
+ {"x":8, "y":2.25},
+ {"x":9, "y":2.25},
+ {"x":10, "y":2.25},
+ {"x":11, "y":2.25},
+ {"x":12, "y":2.25},
+ {"x":13, "y":2.25},
+ {"x":14, "y":2.25},
+ {"x":15, "y":2.25, "w":1.5},
+
+ {"x":16.75, "y":2},
+
+ {"x":0.25, "y":3.25, "w":1.75},
+ {"x":2, "y":3.25},
+ {"x":3, "y":3.25},
+ {"x":4, "y":3.25},
+ {"x":5, "y":3.25},
+ {"x":6, "y":3.25},
+
+ {"x":8.5, "y":3.25},
+ {"x":9.5, "y":3.25},
+ {"x":10.5, "y":3.25},
+ {"x":11.5, "y":3.25},
+ {"x":12.5, "y":3.25},
+ {"x":13.5, "y":3.25},
+ {"x":14.5, "y":3.25, "w":2.25},
+
+ {"x":17, "y":3},
+
+ {"x":0, "y":4.25, "w":2.25},
+ {"x":2.25, "y":4.25},
+ {"x":3.25, "y":4.25},
+ {"x":4.25, "y":4.25},
+ {"x":5.25, "y":4.25},
+ {"x":6.25, "y":4.25},
+
+ {"x":8.25, "y":4.25},
+ {"x":9.25, "y":4.25},
+ {"x":10.25, "y":4.25},
+ {"x":11.25, "y":4.25},
+ {"x":12.25, "y":4.25},
+ {"x":13.25, "y":4.25},
+ {"x":14.25, "y":4.25, "w":1.75},
+ {"x":16, "y":4.25},
+
+ {"x":0, "y":5.25, "w":1.5},
+ {"x":2.75, "y":5.25, "w":1.5},
+ {"x":4.25, "y":5.25, "w":2.25},
+ {"x":6.5, "y":5.25},
+
+ {"x":7.75, "y":5.25, "w":2.75},
+ {"x":10.5, "y":5.25, "w":1.5},
+
+ {"x":15, "y":5.25},
+ {"x":16, "y":5.25},
+ {"x":17, "y":5.25}
+ ]
}
+ }
}