Cannonkeys Onyx: Configurator/QMK CLI improvements (#11603)

* info.json: human-friendly formatting

* info.json: correct key object order

* info.json: replace Unicode characters

They don't play nice with `qmk info -l`.

* info.json: correct keyboard dimensions
This commit is contained in:
James Young 2021-01-18 18:08:57 -08:00 committed by GitHub
parent dfb8a29718
commit 01bc8e3b52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,10 +3,94 @@
"url": "https://cannonkeys.com", "url": "https://cannonkeys.com",
"maintainer": "awkannan", "maintainer": "awkannan",
"width": 19.5, "width": 19.5,
"height": 9, "height": 5,
"layouts": { "layouts": {
"LAYOUT_all": { "LAYOUT_all": {
"layout": [{"x":0, "y":0}, {"label":"Esc", "x":1.25, "y":0}, {"label":"!", "x":2.25, "y":0}, {"label":"@", "x":3.25, "y":0}, {"label":"#", "x":4.25, "y":0}, {"label":"$", "x":5.25, "y":0}, {"label":"%", "x":6.25, "y":0}, {"label":"^", "x":7.25, "y":0}, {"label":"&", "x":8.25, "y":0}, {"label":"*", "x":9.25, "y":0}, {"label":"(", "x":10.25, "y":0}, {"label":")", "x":11.25, "y":0}, {"label":"_", "x":12.25, "y":0}, {"label":"+", "x":13.25, "y":0}, {"label":"~", "x":14.25, "y":0}, {"label":"Bcksp", "x":15.25, "y":0}, {"label":"Insert", "x":16.5, "y":0}, {"label":"Home", "x":17.5, "y":0}, {"label":"PgUp", "x":18.5, "y":0}, {"x":0, "y":1}, {"label":"Tab", "x":1.25, "y":1, "w":1.5}, {"label":"Q", "x":2.75, "y":1}, {"label":"W", "x":3.75, "y":1}, {"label":"E", "x":4.75, "y":1}, {"label":"R", "x":5.75, "y":1}, {"label":"T", "x":6.75, "y":1}, {"label":"Y", "x":7.75, "y":1}, {"label":"U", "x":8.75, "y":1}, {"label":"I", "x":9.75, "y":1}, {"label":"O", "x":10.75, "y":1}, {"label":"P", "x":11.75, "y":1}, {"label":"{", "x":12.75, "y":1}, {"label":"}", "x":13.75, "y":1}, {"label":"|", "x":14.75, "y":1, "w":1.5}, {"label":"Delete", "x":16.5, "y":1}, {"label":"End", "x":17.5, "y":1}, {"label":"PgDn", "x":18.5, "y":1}, {"x":0, "y":2}, {"label":"Caps Lock", "x":1.25, "y":2, "w":1.25}, {"label":"A", "x":3, "y":2}, {"label":"S", "x":4, "y":2}, {"label":"D", "x":5, "y":2}, {"label":"F", "x":6, "y":2}, {"label":"G", "x":7, "y":2}, {"label":"H", "x":8, "y":2}, {"label":"J", "x":9, "y":2}, {"label":"K", "x":10, "y":2}, {"label":"L", "x":11, "y":2}, {"label":":", "x":12, "y":2}, {"label":"\"", "x":13, "y":2}, {"x":14, "y":2}, {"label":"Enter", "x":15, "y":2, "w":1.25}, {"x":0, "y":3}, {"label":"Shift", "x":1.25, "y":3, "w":1.25}, {"label":"Shift", "x":2.5, "y":3}, {"label":"Z", "x":3.5, "y":3}, {"label":"X", "x":4.5, "y":3}, {"label":"C", "x":5.5, "y":3}, {"label":"V", "x":6.5, "y":3}, {"label":"B", "x":7.5, "y":3}, {"label":"N", "x":8.5, "y":3}, {"label":"M", "x":9.5, "y":3}, {"label":"<", "x":10.5, "y":3}, {"label":">", "x":11.5, "y":3}, {"label":"?", "x":12.5, "y":3}, {"label":"\u2191", "x":17.5, "y":3}, {"label":"Ctrl", "x":1.25, "y":4, "w":1.25}, {"label":"Win", "x":2.5, "y":4, "w":1.25}, {"label":"Alt", "x":3.75, "y":4, "w":1.25}, {"x":5, "y":4, "w":6.25}, {"label":"Alt", "x":11.25, "y":4, "w":1.25}, {"label":"Alt", "x":12.5, "y":4, "w":1.25}, {"label":"Win", "x":13.75, "y":4, "w":1.25}, {"label":"Ctrl", "x":15, "y":4, "w":1.25}, {"label":"\u2190", "x":16.5, "y":4}, {"label":"\u2193", "x":17.5, "y":4}, {"label":"\u2192", "x":18.5, "y":4}, {"label":"Shift", "x":13.25, "y":8, "w":1.75}, {"label":"Fn", "x":15, "y":8}] "layout": [
{"x":0, "y":0},
{"label":"Esc", "x":1.25, "y":0},
{"label":"!", "x":2.25, "y":0},
{"label":"@", "x":3.25, "y":0},
{"label":"#", "x":4.25, "y":0},
{"label":"$", "x":5.25, "y":0},
{"label":"%", "x":6.25, "y":0},
{"label":"^", "x":7.25, "y":0},
{"label":"&", "x":8.25, "y":0},
{"label":"*", "x":9.25, "y":0},
{"label":"(", "x":10.25, "y":0},
{"label":")", "x":11.25, "y":0},
{"label":"_", "x":12.25, "y":0},
{"label":"+", "x":13.25, "y":0},
{"label":"~", "x":14.25, "y":0},
{"label":"Bcksp", "x":15.25, "y":0},
{"label":"Insert", "x":16.5, "y":0},
{"label":"Home", "x":17.5, "y":0},
{"label":"PgUp", "x":18.5, "y":0},
{"x":0, "y":1},
{"label":"Tab", "x":1.25, "y":1, "w":1.5},
{"label":"Q", "x":2.75, "y":1},
{"label":"W", "x":3.75, "y":1},
{"label":"E", "x":4.75, "y":1},
{"label":"R", "x":5.75, "y":1},
{"label":"T", "x":6.75, "y":1},
{"label":"Y", "x":7.75, "y":1},
{"label":"U", "x":8.75, "y":1},
{"label":"I", "x":9.75, "y":1},
{"label":"O", "x":10.75, "y":1},
{"label":"P", "x":11.75, "y":1},
{"label":"{", "x":12.75, "y":1},
{"label":"}", "x":13.75, "y":1},
{"label":"|", "x":14.75, "y":1, "w":1.5},
{"label":"Delete", "x":16.5, "y":1},
{"label":"End", "x":17.5, "y":1},
{"label":"PgDn", "x":18.5, "y":1},
{"x":0, "y":2},
{"label":"Caps Lock", "x":1.25, "y":2, "w":1.25},
{"label":"A", "x":3, "y":2},
{"label":"S", "x":4, "y":2},
{"label":"D", "x":5, "y":2},
{"label":"F", "x":6, "y":2},
{"label":"G", "x":7, "y":2},
{"label":"H", "x":8, "y":2},
{"label":"J", "x":9, "y":2},
{"label":"K", "x":10, "y":2},
{"label":"L", "x":11, "y":2},
{"label":":", "x":12, "y":2},
{"label":"\"", "x":13, "y":2},
{"x":14, "y":2},
{"label":"Enter", "x":15, "y":2, "w":1.25},
{"x":0, "y":3},
{"label":"Shift", "x":1.25, "y":3, "w":1.25},
{"label":"Shift", "x":2.5, "y":3},
{"label":"Z", "x":3.5, "y":3},
{"label":"X", "x":4.5, "y":3},
{"label":"C", "x":5.5, "y":3},
{"label":"V", "x":6.5, "y":3},
{"label":"B", "x":7.5, "y":3},
{"label":"N", "x":8.5, "y":3},
{"label":"M", "x":9.5, "y":3},
{"label":"<", "x":10.5, "y":3},
{"label":">", "x":11.5, "y":3},
{"label":"?", "x":12.5, "y":3},
{"label":"Shift", "x":13.5, "y":3, "w":1.75},
{"label":"Fn", "x":15.25, "y":3},
{"label":"Up", "x":17.5, "y":3},
{"label":"Ctrl", "x":1.25, "y":4, "w":1.25},
{"label":"Win", "x":2.5, "y":4, "w":1.25},
{"label":"Alt", "x":3.75, "y":4, "w":1.25},
{"x":5, "y":4, "w":6.25},
{"label":"Alt", "x":11.25, "y":4, "w":1.25},
{"label":"Alt", "x":12.5, "y":4, "w":1.25},
{"label":"Win", "x":13.75, "y":4, "w":1.25},
{"label":"Ctrl", "x":15, "y":4, "w":1.25},
{"label":"Left", "x":16.5, "y":4},
{"label":"Down", "x":17.5, "y":4},
{"label":"Right", "x":18.5, "y":4}
]
} }
} }
} }