summaryrefslogtreecommitdiff
path: root/keyboards/kprepublic/jj50/info.json
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kprepublic/jj50/info.json')
-rw-r--r--keyboards/kprepublic/jj50/info.json128
1 files changed, 68 insertions, 60 deletions
diff --git a/keyboards/kprepublic/jj50/info.json b/keyboards/kprepublic/jj50/info.json
index 126ba09048..a83d42ab6a 100644
--- a/keyboards/kprepublic/jj50/info.json
+++ b/keyboards/kprepublic/jj50/info.json
@@ -8,11 +8,19 @@
"pid": "0x0050",
"device_version": "2.0.0"
},
+ "matrix_pins": {
+ "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4"],
+ "rows": ["B0", "B1", "B2", "B3", "B4"]
+ },
+ "diode_direction": "COL2ROW",
"backlight": {
"pin": "D4",
"levels": 12,
"breathing": true
},
+ "ws2812": {
+ "driver": "i2c"
+ },
"processor": "atmega32a",
"bootloader": "bootloadhid",
"layout_aliases": {
@@ -22,70 +30,70 @@
"layouts": {
"LAYOUT_ortho_5x12": {
"layout": [
- {"label":"K2B", "x":0, "y":0},
- {"label":"K2A", "x":1, "y":0},
- {"label":"K29", "x":2, "y":0},
- {"label":"K28", "x":3, "y":0},
- {"label":"K24", "x":4, "y":0},
- {"label":"K25", "x":5, "y":0},
- {"label":"K26", "x":6, "y":0},
- {"label":"K27", "x":7, "y":0},
- {"label":"K23", "x":8, "y":0},
- {"label":"K22", "x":9, "y":0},
- {"label":"K21", "x":10, "y":0},
- {"label":"K20", "x":11, "y":0},
+ {"matrix": [2, 11], "x": 0, "y": 0},
+ {"matrix": [2, 10], "x": 1, "y": 0},
+ {"matrix": [2, 9], "x": 2, "y": 0},
+ {"matrix": [2, 8], "x": 3, "y": 0},
+ {"matrix": [2, 4], "x": 4, "y": 0},
+ {"matrix": [2, 5], "x": 5, "y": 0},
+ {"matrix": [2, 6], "x": 6, "y": 0},
+ {"matrix": [2, 7], "x": 7, "y": 0},
+ {"matrix": [2, 3], "x": 8, "y": 0},
+ {"matrix": [2, 2], "x": 9, "y": 0},
+ {"matrix": [2, 1], "x": 10, "y": 0},
+ {"matrix": [2, 0], "x": 11, "y": 0},
- {"label":"K0B", "x":0, "y":1},
- {"label":"K0A", "x":1, "y":1},
- {"label":"K09", "x":2, "y":1},
- {"label":"K08", "x":3, "y":1},
- {"label":"K04", "x":4, "y":1},
- {"label":"K05", "x":5, "y":1},
- {"label":"K06", "x":6, "y":1},
- {"label":"K07", "x":7, "y":1},
- {"label":"K03", "x":8, "y":1},
- {"label":"K02", "x":9, "y":1},
- {"label":"K01", "x":10, "y":1},
- {"label":"K00", "x":11, "y":1},
+ {"matrix": [0, 11], "x": 0, "y": 1},
+ {"matrix": [0, 10], "x": 1, "y": 1},
+ {"matrix": [0, 9], "x": 2, "y": 1},
+ {"matrix": [0, 8], "x": 3, "y": 1},
+ {"matrix": [0, 4], "x": 4, "y": 1},
+ {"matrix": [0, 5], "x": 5, "y": 1},
+ {"matrix": [0, 6], "x": 6, "y": 1},
+ {"matrix": [0, 7], "x": 7, "y": 1},
+ {"matrix": [0, 3], "x": 8, "y": 1},
+ {"matrix": [0, 2], "x": 9, "y": 1},
+ {"matrix": [0, 1], "x": 10, "y": 1},
+ {"matrix": [0, 0], "x": 11, "y": 1},
- {"label":"K1B", "x":0, "y":2},
- {"label":"K1A", "x":1, "y":2},
- {"label":"K19", "x":2, "y":2},
- {"label":"K18", "x":3, "y":2},
- {"label":"K14", "x":4, "y":2},
- {"label":"K15", "x":5, "y":2},
- {"label":"K16", "x":6, "y":2},
- {"label":"K17", "x":7, "y":2},
- {"label":"K13", "x":8, "y":2},
- {"label":"K12", "x":9, "y":2},
- {"label":"K11", "x":10, "y":2},
- {"label":"K10", "x":11, "y":2},
+ {"matrix": [1, 11], "x": 0, "y": 2},
+ {"matrix": [1, 10], "x": 1, "y": 2},
+ {"matrix": [1, 9], "x": 2, "y": 2},
+ {"matrix": [1, 8], "x": 3, "y": 2},
+ {"matrix": [1, 4], "x": 4, "y": 2},
+ {"matrix": [1, 5], "x": 5, "y": 2},
+ {"matrix": [1, 6], "x": 6, "y": 2},
+ {"matrix": [1, 7], "x": 7, "y": 2},
+ {"matrix": [1, 3], "x": 8, "y": 2},
+ {"matrix": [1, 2], "x": 9, "y": 2},
+ {"matrix": [1, 1], "x": 10, "y": 2},
+ {"matrix": [1, 0], "x": 11, "y": 2},
- {"label":"K3B", "x":0, "y":3},
- {"label":"K3A", "x":1, "y":3},
- {"label":"K39", "x":2, "y":3},
- {"label":"K38", "x":3, "y":3},
- {"label":"K34", "x":4, "y":3},
- {"label":"K35", "x":5, "y":3},
- {"label":"K36", "x":6, "y":3},
- {"label":"K37", "x":7, "y":3},
- {"label":"K33", "x":8, "y":3},
- {"label":"K32", "x":9, "y":3},
- {"label":"K31", "x":10, "y":3},
- {"label":"K30", "x":11, "y":3},
+ {"matrix": [3, 11], "x": 0, "y": 3},
+ {"matrix": [3, 10], "x": 1, "y": 3},
+ {"matrix": [3, 9], "x": 2, "y": 3},
+ {"matrix": [3, 8], "x": 3, "y": 3},
+ {"matrix": [3, 4], "x": 4, "y": 3},
+ {"matrix": [3, 5], "x": 5, "y": 3},
+ {"matrix": [3, 6], "x": 6, "y": 3},
+ {"matrix": [3, 7], "x": 7, "y": 3},
+ {"matrix": [3, 3], "x": 8, "y": 3},
+ {"matrix": [3, 2], "x": 9, "y": 3},
+ {"matrix": [3, 1], "x": 10, "y": 3},
+ {"matrix": [3, 0], "x": 11, "y": 3},
- {"label":"K4B", "x":0, "y":4},
- {"label":"K4A", "x":1, "y":4},
- {"label":"K49", "x":2, "y":4},
- {"label":"K48", "x":3, "y":4},
- {"label":"K44", "x":4, "y":4},
- {"label":"K45", "x":5, "y":4},
- {"label":"K46", "x":6, "y":4},
- {"label":"K47", "x":7, "y":4},
- {"label":"K43", "x":8, "y":4},
- {"label":"K42", "x":9, "y":4},
- {"label":"K41", "x":10, "y":4},
- {"label":"K40", "x":11, "y":4}
+ {"matrix": [4, 11], "x": 0, "y": 4},
+ {"matrix": [4, 10], "x": 1, "y": 4},
+ {"matrix": [4, 9], "x": 2, "y": 4},
+ {"matrix": [4, 8], "x": 3, "y": 4},
+ {"matrix": [4, 4], "x": 4, "y": 4},
+ {"matrix": [4, 5], "x": 5, "y": 4},
+ {"matrix": [4, 6], "x": 6, "y": 4},
+ {"matrix": [4, 7], "x": 7, "y": 4},
+ {"matrix": [4, 3], "x": 8, "y": 4},
+ {"matrix": [4, 2], "x": 9, "y": 4},
+ {"matrix": [4, 1], "x": 10, "y": 4},
+ {"matrix": [4, 0], "x": 11, "y": 4}
]
}
}