Skip to content

Instantly share code, notes, and snippets.

@killshot13
Created November 5, 2022 07:54
Show Gist options
  • Save killshot13/1b22c293145075f3f720150cf18cff45 to your computer and use it in GitHub Desktop.
Save killshot13/1b22c293145075f3f720150cf18cff45 to your computer and use it in GitHub Desktop.
[TheKey.json]: Base config file for Stack Overflow's The Key and The Key V2 Macropad
{
"version": 1,
"keyboard": {
"bounds": {
"max": {
"x": 3,
"y": 1
},
"min": {
"x": 0,
"y": 0
}
},
"cols": 3,
"controller": 1,
"keys": [
{
"col": 0,
"id": 0,
"keycodes": [
{
"fields": [],
"id": "KC_1"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
}
],
"legend": "",
"row": 0,
"state": {
"a": 7,
"h": 1,
"h2": 0,
"r": 0,
"rx": 0,
"ry": 0,
"w": 1,
"w2": 0,
"x": 0,
"x2": 0,
"y": 0,
"y2": 0
}
},
{
"col": 1,
"id": 1,
"keycodes": [
{
"fields": [],
"id": "KC_2"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
}
],
"legend": "",
"row": 0,
"state": {
"a": 7,
"h": 1,
"h2": 0,
"r": 0,
"rx": 0,
"ry": 0,
"w": 1,
"w2": 0,
"x": 1,
"x2": 0,
"y": 0,
"y2": 0
}
},
{
"col": 2,
"id": 2,
"keycodes": [
{
"fields": [],
"id": "KC_3"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
},
{
"fields": [],
"id": "KC_TRNS"
}
],
"legend": "",
"row": 0,
"state": {
"a": 7,
"h": 1,
"h2": 0,
"r": 0,
"rx": 0,
"ry": 0,
"w": 1,
"w2": 0,
"x": 2,
"x2": 0,
"y": 0,
"y2": 0
}
}
],
"macros": {},
"pins": {
"caps": null,
"col": [
"D2",
"D1",
"D0"
],
"compose": null,
"kana": null,
"led": "B6",
"num": null,
"rgb": "B1",
"row": [
"D4"
],
"scroll": null
},
"quantum": "void matrix_init_user(void) {\n}\n\nvoid matrix_scan_user(void) {\n}\n\nbool process_record_user(uint16_t keycode, keyrecord_t *record) {\n\treturn true;\n}",
"rows": 1,
"settings": {
"backlightLevels": 3,
"bootloaderSize": 2,
"diodeDirection": 1,
"name": "3 KEY",
"rgbNum": 2
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment