qmk-firmware/keyboards/gorthage_truck/info.json
James Young 3c3c5965f1
Gorthage Truck Refactor (#14006)
* info.json: apply human-friendly formatting

* info.json: make key labels more friendly to `qmk info -l`

* correct LAYOUT_3u key sequence

* correct LAYOUT_7u key sequence

* correct LAYOUT_10u key sequence

* refactor default keymap

- use QMK short-form keycodes
- update grid alignment
- use four-space indent
- touch up with `qmk cformat`

* refactor 10u keymap

- use QMK short-form keycodes
- add encoder_update_user() function
- update grid alignment
- use four-space indent

* refactor 7u keymap

- use QMK short-form keycodes
- add encoder_update_user() function
- update grid alignment
- use four-space indent

* refactor gorthage_truck.h

- update grid alignments
- use XXX for KC_NO
- insert omitted KC_NO instances

* correct keyboard metadata in info.json

- use GitHub username for maintainer
- correct keyboard dimensions

* add encoder_update_kb() function to gorthage_truck.c

Gives QMK Configurator compile jobs encoder functionality.

* update maintainer field in info.json

As requested by jpuerto96 (s8erdude).
2021-08-15 19:41:02 -07:00

211 lines
8.8 KiB
JSON

{
"keyboard_name": "gorthage_truck",
"url": "https://github.com/jpuerto96",
"maintainer": "jpuerto96 (s8erdude)",
"width": 18,
"height": 4.5,
"layouts": {
"LAYOUT_3u": {
"layout": [
{"label":"Tab", "x":0, "y":0},
{"label":"Q", "x":1, "y":0},
{"label":"W", "x":2, "y":0},
{"label":"E", "x":3, "y":0},
{"label":"R", "x":4, "y":0},
{"label":"T", "x":5, "y":0},
{"label":"Y", "x":6, "y":0},
{"label":"U", "x":7, "y":0},
{"label":"I", "x":8, "y":0},
{"label":"O", "x":9, "y":0},
{"label":"P", "x":10, "y":0},
{"label":"[{", "x":11, "y":0},
{"label":"]}", "x":12, "y":0},
{"label":"Play", "x":13.5, "y":0.5},
{"label":"7", "x":15, "y":0},
{"label":"8", "x":16, "y":0},
{"label":"9", "x":17, "y":0},
{"label":"Caps Lock", "x":0, "y":1},
{"label":"A", "x":1, "y":1},
{"label":"S", "x":2, "y":1},
{"label":"D", "x":3, "y":1},
{"label":"F", "x":4, "y":1},
{"label":"G", "x":5, "y":1},
{"label":"H", "x":6, "y":1},
{"label":"J", "x":7, "y":1},
{"label":"K", "x":8, "y":1},
{"label":"L", "x":9, "y":1},
{"label":";:", "x":10, "y":1},
{"label":"'\"", "x":11, "y":1},
{"label":"\\|", "x":12, "y":1},
{"label":"4", "x":15, "y":1},
{"label":"5", "x":16, "y":1},
{"label":"6", "x":17, "y":1},
{"label":"-_", "x":0, "y":2},
{"label":"Z", "x":1, "y":2},
{"label":"X", "x":2, "y":2},
{"label":"C", "x":3, "y":2},
{"label":"V", "x":4, "y":2},
{"label":"B", "x":5, "y":2},
{"label":"N", "x":6, "y":2},
{"label":"M", "x":7, "y":2},
{"label":",<", "x":8, "y":2},
{"label":".>", "x":9, "y":2},
{"label":"/?", "x":10, "y":2},
{"label":"Shift", "x":11, "y":2},
{"label":"Backspace", "x":12, "y":2},
{"label":"\u2191", "x":13.5, "y":2.5},
{"label":"1", "x":15, "y":2},
{"label":"2", "x":16, "y":2},
{"label":"3", "x":17, "y":2},
{"label":"Ctrl", "x":0, "y":3, "w":1.25},
{"label":"Alt", "x":1.25, "y":3, "w":1.25},
{"label":"GUI", "x":2.5, "y":3},
{"label":"Space", "x":3.5, "y":3, "w":3},
{"label":"Enter", "x":6.5, "y":3, "w":3},
{"label":"GUI", "x":9.5, "y":3, "w":1.25},
{"label":"Alt", "x":10.75, "y":3, "w":1.25},
{"label":"\u2190", "x":12.5, "y":3.5},
{"label":"\u2193", "x":13.5, "y":3.5},
{"label":"\u2192", "x":14.5, "y":3.5},
{"label":"0", "x":16, "y":3},
{"label":".", "x":17, "y":3}
]
},
"LAYOUT_7u": {
"layout": [
{"label":"Tab", "x":0, "y":0},
{"label":"Q", "x":1, "y":0},
{"label":"W", "x":2, "y":0},
{"label":"E", "x":3, "y":0},
{"label":"R", "x":4, "y":0},
{"label":"T", "x":5, "y":0},
{"label":"Y", "x":6, "y":0},
{"label":"U", "x":7, "y":0},
{"label":"I", "x":8, "y":0},
{"label":"O", "x":9, "y":0},
{"label":"P", "x":10, "y":0},
{"label":"[{", "x":11, "y":0},
{"label":"]}", "x":12, "y":0},
{"label":"Play", "x":13.5, "y":0.5},
{"label":"7", "x":15, "y":0},
{"label":"8", "x":16, "y":0},
{"label":"9", "x":17, "y":0},
{"label":"Caps Lock", "x":0, "y":1},
{"label":"A", "x":1, "y":1},
{"label":"S", "x":2, "y":1},
{"label":"D", "x":3, "y":1},
{"label":"F", "x":4, "y":1},
{"label":"G", "x":5, "y":1},
{"label":"H", "x":6, "y":1},
{"label":"J", "x":7, "y":1},
{"label":"K", "x":8, "y":1},
{"label":"L", "x":9, "y":1},
{"label":";:", "x":10, "y":1},
{"label":"'\"", "x":11, "y":1},
{"label":"\\|", "x":12, "y":1},
{"label":"4", "x":15, "y":1},
{"label":"5", "x":16, "y":1},
{"label":"6", "x":17, "y":1},
{"label":"-_", "x":0, "y":2},
{"label":"Z", "x":1, "y":2},
{"label":"X", "x":2, "y":2},
{"label":"C", "x":3, "y":2},
{"label":"V", "x":4, "y":2},
{"label":"B", "x":5, "y":2},
{"label":"N", "x":6, "y":2},
{"label":"M", "x":7, "y":2},
{"label":",<", "x":8, "y":2},
{"label":".>", "x":9, "y":2},
{"label":"/?", "x":10, "y":2},
{"label":"Shift", "x":11, "y":2},
{"label":"Backspace", "x":12, "y":2},
{"label":"\u2191", "x":13.5, "y":2.5},
{"label":"1", "x":15, "y":2},
{"label":"2", "x":16, "y":2},
{"label":"3", "x":17, "y":2},
{"label":"Ctrl", "x":0, "y":3, "w":1.25},
{"label":"Alt", "x":1.25, "y":3, "w":1.25},
{"label":"GUI", "x":2.5, "y":3, "w":1.25},
{"label":"Space", "x":3.75, "y":3, "w":7},
{"label":"GUI", "x":10.75, "y":3, "w":1.25},
{"label":"\u2190", "x":12.5, "y":3.5},
{"label":"\u2193", "x":13.5, "y":3.5},
{"label":"\u2192", "x":14.5, "y":3.5},
{"label":"0", "x":16, "y":3},
{"label":".", "x":17, "y":3}
]
},
"LAYOUT_10u": {
"layout": [
{"label":"Tab", "x":0, "y":0},
{"label":"Q", "x":1, "y":0},
{"label":"W", "x":2, "y":0},
{"label":"E", "x":3, "y":0},
{"label":"R", "x":4, "y":0},
{"label":"T", "x":5, "y":0},
{"label":"Y", "x":6, "y":0},
{"label":"U", "x":7, "y":0},
{"label":"I", "x":8, "y":0},
{"label":"O", "x":9, "y":0},
{"label":"P", "x":10, "y":0},
{"label":"[{", "x":11, "y":0},
{"label":"]}", "x":12, "y":0},
{"label":"Play", "x":13.5, "y":0.5},
{"label":"7", "x":15, "y":0},
{"label":"8", "x":16, "y":0},
{"label":"9", "x":17, "y":0},
{"label":"Caps Lock", "x":0, "y":1},
{"label":"A", "x":1, "y":1},
{"label":"S", "x":2, "y":1},
{"label":"D", "x":3, "y":1},
{"label":"F", "x":4, "y":1},
{"label":"G", "x":5, "y":1},
{"label":"H", "x":6, "y":1},
{"label":"J", "x":7, "y":1},
{"label":"K", "x":8, "y":1},
{"label":"L", "x":9, "y":1},
{"label":";:", "x":10, "y":1},
{"label":"'\"", "x":11, "y":1},
{"label":"\\|", "x":12, "y":1},
{"label":"4", "x":15, "y":1},
{"label":"5", "x":16, "y":1},
{"label":"6", "x":17, "y":1},
{"label":"-_", "x":0, "y":2},
{"label":"Z", "x":1, "y":2},
{"label":"X", "x":2, "y":2},
{"label":"C", "x":3, "y":2},
{"label":"V", "x":4, "y":2},
{"label":"B", "x":5, "y":2},
{"label":"N", "x":6, "y":2},
{"label":"M", "x":7, "y":2},
{"label":",<", "x":8, "y":2},
{"label":".>", "x":9, "y":2},
{"label":"/?", "x":10, "y":2},
{"label":"Shift", "x":11, "y":2},
{"label":"Backspace", "x":12, "y":2},
{"label":"\u2191", "x":13.5, "y":2.5},
{"label":"1", "x":15, "y":2},
{"label":"2", "x":16, "y":2},
{"label":"3", "x":17, "y":2},
{"label":"Ctrl", "x":0, "y":3},
{"label":"Space", "x":1, "y":3, "w":10},
{"label":"GUI", "x":11, "y":3},
{"label":"\u2190", "x":12.5, "y":3.5},
{"label":"\u2193", "x":13.5, "y":3.5},
{"label":"\u2192", "x":14.5, "y":3.5},
{"label":"0", "x":16, "y":3},
{"label":".", "x":17, "y":3}
]
}
}
}