[Keyboard] Add CXT Studio (#19531)

Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Colin Kinloch <colin.kinloch@collabora.com>
This commit is contained in:
Colin Kinloch 2023-02-09 21:29:23 +00:00 committed by GitHub
parent 1b3b1427d2
commit 462ab3c4d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 220 additions and 0 deletions

View file

@ -0,0 +1,76 @@
{
"manufacturer": "CXT",
"keyboard_name": "cxt_studio",
"maintainer": "ColinKinloch",
"bootloader": "atmel-dfu",
"diode_direction": "ROW2COL",
"features": {
"bootmagic": true,
"command": false,
"console": true,
"extrakey": true,
"mousekey": true,
"nkro": true,
"encoder": true,
"rgb_matrix": true
},
"matrix_pins": {
"cols": ["D4", "D7", "B4", "B5"],
"rows": ["C7", "C6", "D6", "F4"]
},
"encoder": {
"rotary": [
{ "pin_a": "D5", "pin_b": "D3" },
{ "pin_a": "B2", "pin_b": "B3" },
{ "pin_a": "F5", "pin_b": "F6" },
{ "pin_a": "E6", "pin_b": "F0" }
]
},
"processor": "atmega32u4",
"rgb_matrix": {
"driver": "WS2812",
"layout": [
{ "flags": 4, "matrix": [0, 3], "x": 3, "y": 0 },
{ "flags": 4, "matrix": [0, 2], "x": 2, "y": 0 },
{ "flags": 4, "matrix": [0, 1], "x": 1, "y": 0 },
{ "flags": 4, "matrix": [0, 0], "x": 0, "y": 0 },
{ "flags": 4, "matrix": [1, 0], "x": 0, "y": 1 },
{ "flags": 4, "matrix": [1, 1], "x": 1, "y": 1 },
{ "flags": 4, "matrix": [1, 2], "x": 2, "y": 1 },
{ "flags": 4, "matrix": [1, 3], "x": 3, "y": 1 },
{ "flags": 4, "matrix": [2, 3], "x": 3, "y": 2 },
{ "flags": 4, "matrix": [2, 2], "x": 2, "y": 2 },
{ "flags": 4, "matrix": [2, 1], "x": 1, "y": 2 },
{ "flags": 4, "matrix": [2, 0], "x": 0, "y": 2 }
]
},
"url": "",
"usb": {
"device_version": "1.0.0",
"pid": "0x0000",
"vid": "0xFEED"
},
"layouts": {
"LAYOUT": {
"layout": [
{ "matrix": [0, 0], "x": 0, "y": 0 },
{ "matrix": [0, 1], "x": 1, "y": 0 },
{ "matrix": [0, 2], "x": 2, "y": 0 },
{ "matrix": [0, 3], "x": 3, "y": 0 },
{ "matrix": [1, 0], "x": 0, "y": 1 },
{ "matrix": [1, 1], "x": 1, "y": 1 },
{ "matrix": [1, 2], "x": 2, "y": 1 },
{ "matrix": [1, 3], "x": 3, "y": 1 },
{ "matrix": [2, 0], "x": 0, "y": 2 },
{ "matrix": [2, 1], "x": 1, "y": 2 },
{ "matrix": [2, 2], "x": 2, "y": 2 },
{ "matrix": [2, 3], "x": 3, "y": 2 },
{ "matrix": [3, 0], "x": 0, "y": 3 },
{ "matrix": [3, 1], "x": 1, "y": 3 },
{ "matrix": [3, 2], "x": 2, "y": 3 },
{ "matrix": [3, 3], "x": 3, "y": 3 }
]
}
}
}