qmk_firmware/keyboards/clueboard/card/info.json
Zach White 47b9b11009
Configure keyboard matrix from info.json (#10817)
* Make parameters from info.json available to the build system

* move all clueboard settings to info.json

* code formatting

* make flake8 happy

* make flake8 happy

* make qmk lint happy

* Add support for specifying led indicators in json

* move led indicators to the clueboard info.json

* Apply suggestions from code review

Co-authored-by: Erovia <Erovia@users.noreply.github.com>

* add missing docstring

Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2020-12-30 10:27:37 -08:00

62 lines
1.8 KiB
JSON

{
"manufacturer": "Clueboard",
"keyboard_name": "Cluecard",
"maintainer": "skullydazed",
"height": 8,
"width": 10,
"debounce": "20",
"diode_direction": "ROW2COL",
"features": {
"audio": true,
"backlight": true,
"bluetooth": false,
"bootmagic": false,
"command": true,
"console": true,
"extrakey": true,
"lto": true,
"midi": false,
"mousekey": true,
"nkro": false,
"rgblight": true,
"unicode": false
},
"matrix_pins": {
"cols": ["F1", " F7", " F6"],
"rows": ["F0", " F5", " F4", " B4"]
},
"rgblight": {
"brightness_steps": "17",
"hue_steps": "10",
"led_count": "4",
"pin": "E6",
"saturation_steps": "17"
},
"usb": {
"device_ver": "0x0001",
"pid": "0x2330",
"vid": "0xC1ED"
},
"layout_aliases": {
"LAYOUT": "LAYOUT_all"
},
"layouts": {
"LAYOUT_all": {
"key_count": 12,
"layout": [
{ "label": "ON/OFF", "matrix": [0, 0], "w": 1, "x": 0, "y": 0 },
{ "label": "SAT+", "matrix": [0, 1], "w": 1, "x": 4, "y": 0 },
{ "label": "BRIGHT+", "matrix": [0, 2], "w": 1, "x": 8, "y": 0 },
{ "label": "HUE-", "matrix": [1, 0], "w": 1, "x": 2, "y": 1 },
{ "label": "HUE+", "matrix": [1, 2], "w": 1, "x": 6, "y": 1 },
{ "label": "MODE", "matrix": [2, 0], "w": 1, "x": 0, "y": 2 },
{ "label": "SAT-", "matrix": [2, 1], "w": 1, "x": 4, "y": 2 },
{ "label": "BRIGHT-", "matrix": [2, 2], "w": 1, "x": 8, "y": 2 },
{ "label": "LAYER", "matrix": [1, 1], "w": 1, "x": 2, "y": 4 },
{ "h": 2, "label": "MX1", "matrix": [3, 0], "w": 2, "x": 4, "y": 6 },
{ "h": 2, "label": "MX2", "matrix": [3, 1], "w": 2, "x": 6, "y": 6 },
{ "h": 2, "label": "MX3", "matrix": [3, 2], "w": 2, "x": 8, "y": 6 }
]
}
}
}