summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/k12_pro/ansi/white/info.json
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keychron/k12_pro/ansi/white/info.json')
-rwxr-xr-xkeyboards/keychron/k12_pro/ansi/white/info.json107
1 files changed, 95 insertions, 12 deletions
diff --git a/keyboards/keychron/k12_pro/ansi/white/info.json b/keyboards/keychron/k12_pro/ansi/white/info.json
index 4862eed4ca..a5924349fd 100755
--- a/keyboards/keychron/k12_pro/ansi/white/info.json
+++ b/keyboards/keychron/k12_pro/ansi/white/info.json
@@ -1,22 +1,13 @@
{
- "keyboard_name": "Keychron K12 Pro",
- "manufacturer": "Keychron",
- "url": "https://github.com/Keychron",
- "maintainer": "lalalademaxiya1",
"usb": {
- "vid": "0x3434",
"pid": "0x02C3",
"device_version": "1.0.0"
},
- "matrix_pins": {
- "cols": [null, null, null, null, null, null, null, null, null, null, null, null, null, null ],
- "rows": ["B4", "B3", "A15", "A14", "A13"]
+ "features": {
+ "led_matrix": true
},
- "diode_direction": "ROW2COL",
- "processor": "STM32L432",
- "bootloader": "stm32-dfu",
"layouts": {
- "LAYOUT_ansi_61": {
+ "LAYOUT_61_ansi": {
"layout": [
{"matrix":[0,0], "x":0, "y":0},
{"matrix":[0,1], "x":1, "y":0},
@@ -32,6 +23,7 @@
{"matrix":[0,11], "x":11, "y":0},
{"matrix":[0,12], "x":12, "y":0},
{"matrix":[0,13], "x":13, "y":0, "w":2},
+
{"matrix":[1,0], "x":0, "y":1, "w":1.5},
{"matrix":[1,1], "x":1.5, "y":1},
{"matrix":[1,2], "x":2.5, "y":1},
@@ -46,6 +38,7 @@
{"matrix":[1,11], "x":11.5, "y":1},
{"matrix":[1,12], "x":12.5, "y":1},
{"matrix":[1,13], "x":13.5, "y":1, "w":1.5},
+
{"matrix":[2,0], "x":0, "y":2, "w":1.75},
{"matrix":[2,1], "x":1.75, "y":2},
{"matrix":[2,2], "x":2.75, "y":2},
@@ -59,6 +52,7 @@
{"matrix":[2,10], "x":10.75, "y":2},
{"matrix":[2,11], "x":11.75, "y":2},
{"matrix":[2,13], "x":12.75, "y":2, "w":2.25},
+
{"matrix":[3,0], "x":0, "y":3, "w":2.25},
{"matrix":[3,2], "x":2.25, "y":3},
{"matrix":[3,3], "x":3.25, "y":3},
@@ -71,6 +65,7 @@
{"matrix":[3,10], "x":10.25, "y":3},
{"matrix":[3,11], "x":11.25, "y":3},
{"matrix":[3,13], "x":12.25, "y":3, "w":2.75},
+
{"matrix":[4,0], "x":0, "y":4, "w":1.25},
{"matrix":[4,1], "x":1.25, "y":4, "w":1.25},
{"matrix":[4,2], "x":2.5, "y":4, "w":1.25},
@@ -81,5 +76,93 @@
{"matrix":[4,13], "x":13.75, "y":4, "w":1.25}
]
}
+ },
+ "led_matrix": {
+ "driver": "CKLED2001",
+ "animations": {
+ "none": true,
+ "solid": true,
+ "breathing": true,
+ "band_pinwheel": true,
+ "band_spiral": true,
+ "cycle_left_right": true,
+ "cycle_up_down": true,
+ "cycle_out_in": true,
+ "dual_beacon": true,
+ "solid_reactive_simple": true,
+ "solid_reactive_multiwide": true,
+ "solid_reactive_multinexus": true,
+ "solid_splash": true,
+ "wave_left_right": true,
+ "wave_up_down": true,
+ "effect_max": true
+ },
+ "layout": [
+ {"matrix":[0, 0], "flags":1, "x":0, "y":0},
+ {"matrix":[0, 1], "flags":4, "x":16, "y":0},
+ {"matrix":[0, 2], "flags":4, "x":32, "y":0},
+ {"matrix":[0, 3], "flags":4, "x":48, "y":0},
+ {"matrix":[0, 4], "flags":4, "x":65, "y":0},
+ {"matrix":[0, 5], "flags":4, "x":81, "y":0},
+ {"matrix":[0, 6], "flags":4, "x":97, "y":0},
+ {"matrix":[0, 7], "flags":4, "x":113, "y":0},
+ {"matrix":[0, 8], "flags":4, "x":129, "y":0},
+ {"matrix":[0, 9], "flags":4, "x":145, "y":0},
+ {"matrix":[0, 10], "flags":4, "x":161, "y":0},
+ {"matrix":[0, 11], "flags":4, "x":178, "y":0},
+ {"matrix":[0, 12], "flags":4, "x":194, "y":0},
+ {"matrix":[0, 13], "flags":1, "x":218, "y":0},
+
+ {"matrix":[1, 0], "flags":1, "x":4, "y":16},
+ {"matrix":[1, 1], "flags":8, "x":24, "y":16},
+ {"matrix":[1, 2], "flags":8, "x":40, "y":16},
+ {"matrix":[1, 3], "flags":8, "x":57, "y":16},
+ {"matrix":[1, 4], "flags":4, "x":73, "y":16},
+ {"matrix":[1, 5], "flags":4, "x":89, "y":16},
+ {"matrix":[1, 6], "flags":4, "x":105, "y":16},
+ {"matrix":[1, 7], "flags":4, "x":121, "y":16},
+ {"matrix":[1, 8], "flags":4, "x":137, "y":16},
+ {"matrix":[1, 9], "flags":4, "x":153, "y":16},
+ {"matrix":[1, 10], "flags":4, "x":170, "y":16},
+ {"matrix":[1, 11], "flags":4, "x":186, "y":16},
+ {"matrix":[1, 12], "flags":4, "x":202, "y":16},
+ {"matrix":[1, 13], "flags":1, "x":222, "y":16},
+
+ {"matrix":[2, 0], "flags":8, "x":6, "y":32},
+ {"matrix":[2, 1], "flags":4, "x":28, "y":32},
+ {"matrix":[2, 2], "flags":4, "x":44, "y":32},
+ {"matrix":[2, 3], "flags":4, "x":61, "y":32},
+ {"matrix":[2, 4], "flags":4, "x":77, "y":32},
+ {"matrix":[2, 5], "flags":4, "x":93, "y":32},
+ {"matrix":[2, 6], "flags":4, "x":109, "y":32},
+ {"matrix":[2, 7], "flags":4, "x":125, "y":32},
+ {"matrix":[2, 8], "flags":4, "x":141, "y":32},
+ {"matrix":[2, 9], "flags":4, "x":157, "y":32},
+ {"matrix":[2, 10], "flags":4, "x":174, "y":32},
+ {"matrix":[2, 11], "flags":4, "x":190, "y":32},
+ {"matrix":[2, 13], "flags":1, "x":216, "y":32},
+
+ {"matrix":[3, 0], "flags":1, "x":10, "y":48},
+ {"matrix":[3, 2], "flags":4, "x":36, "y":48},
+ {"matrix":[3, 3], "flags":4, "x":52, "y":48},
+ {"matrix":[3, 4], "flags":4, "x":69, "y":48},
+ {"matrix":[3, 5], "flags":4, "x":85, "y":48},
+ {"matrix":[3, 6], "flags":4, "x":101, "y":48},
+ {"matrix":[3, 7], "flags":4, "x":117, "y":48},
+ {"matrix":[3, 8], "flags":4, "x":133, "y":48},
+ {"matrix":[3, 9], "flags":4, "x":149, "y":48},
+ {"matrix":[3, 10], "flags":4, "x":165, "y":48},
+ {"matrix":[3, 11], "flags":4, "x":182, "y":48},
+ {"matrix":[3, 13], "flags":1, "x":212, "y":48},
+
+ {"matrix":[4, 0], "flags":1, "x":2, "y":64},
+ {"matrix":[4, 1], "flags":1, "x":22, "y":64},
+ {"matrix":[4, 2], "flags":1, "x":42, "y":64},
+ {"matrix":[4, 6], "flags":4, "x":103, "y":64},
+ {"matrix":[4, 10], "flags":1, "x":163, "y":64},
+ {"matrix":[4, 11], "flags":1, "x":184, "y":64},
+ {"matrix":[4, 12], "flags":1, "x":204, "y":64},
+ {"matrix":[4, 13], "flags":1, "x":224, "y":64}
+ ]
}
}