Skip to content

Instantly share code, notes, and snippets.

@BrainWart
Created March 2, 2021 19:25
Show Gist options
  • Save BrainWart/5a300bb150ba2289448e2027a5dd6578 to your computer and use it in GitHub Desktop.
Save BrainWart/5a300bb150ba2289448e2027a5dd6578 to your computer and use it in GitHub Desktop.
ZMK Pick Test to debug
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Test",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/app/build/tests/${input:testName}/zmk.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
],
"inputs": [
{
"id": "testName",
"type": "pickString",
"description": "Select the test to debug",
"options": [
"combo/combos-and-holdtaps-0",
"combo/combos-and-holdtaps-1",
"combo/combos-and-holdtaps-2",
"combo/layer-filter-0",
"combo/layer-filter-1",
"combo/multiple-timeouts",
"combo/overlapping-combos-0",
"combo/overlapping-combos-1",
"combo/overlapping-combos-2",
"combo/overlapping-combos-3",
"combo/partially-overlapping-combos",
"combo/press-release",
"combo/press-timeout",
"combo/press1-press2-release1-release2",
"combo/press1-press2-release2-release1",
"combo/press1-release1-press2-release2",
"combo/slowrelease-disabled",
"combo/slowrelease-enabled",
"gresc/gresc-press-release",
"gresc/gresc-two-instances",
"hold-tap/balanced/1-dn-up",
"hold-tap/balanced/2-dn-timer-up",
"hold-tap/balanced/3a-moddn-dn-modup-up",
"hold-tap/balanced/3b-moddn-dn-modup-timer-up",
"hold-tap/balanced/3c-kcdn-dn-kcup-up",
"hold-tap/balanced/3d-kcdn-dn-kcup-timer-up",
"hold-tap/balanced/4a-dn-htdn-timer-htup-up",
"hold-tap/balanced/4a-dn-kcdn-timer-kcup-up",
"hold-tap/balanced/4b-dn-kcdn-kcup-timer-up",
"hold-tap/balanced/4c-dn-kcdn-kcup-up",
"hold-tap/balanced/4d-dn-kcdn-timer-up-kcup",
"hold-tap/balanced/5-quick-tap",
"hold-tap/balanced/6-retro-tap",
"hold-tap/balanced/many-nested",
"hold-tap/hold-preferred/1-dn-up",
"hold-tap/hold-preferred/2-dn-timer-up",
"hold-tap/hold-preferred/3a-moddn-dn-modup-up",
"hold-tap/hold-preferred/3b-moddn-dn-modup-timer-up",
"hold-tap/hold-preferred/3c-kcdn-dn-kcup-up",
"hold-tap/hold-preferred/3d-kcdn-dn-kcup-timer-up",
"hold-tap/hold-preferred/4a-dn-htdn-timer-htup-up",
"hold-tap/hold-preferred/4a-dn-kcdn-timer-kcup-up",
"hold-tap/hold-preferred/4b-dn-kcdn-kcup-timer-up",
"hold-tap/hold-preferred/4c-dn-kcdn-kcup-up",
"hold-tap/hold-preferred/4d-dn-kcdn-timer-up-kcup",
"hold-tap/hold-preferred/5-quick-tap",
"hold-tap/hold-preferred/6-retro-tap",
"hold-tap/tap-preferred/1-dn-up",
"hold-tap/tap-preferred/2-dn-timer-up",
"hold-tap/tap-preferred/3a-moddn-dn-modup-up",
"hold-tap/tap-preferred/3b-moddn-dn-modup-timer-up",
"hold-tap/tap-preferred/3c-kcdn-dn-kcup-up",
"hold-tap/tap-preferred/3d-kcdn-dn-kcup-timer-up",
"hold-tap/tap-preferred/4a-dn-htdn-timer-htup-up",
"hold-tap/tap-preferred/4a-dn-kcdn-timer-kcup-up",
"hold-tap/tap-preferred/4b-dn-kcdn-kcup-timer-up",
"hold-tap/tap-preferred/4c-dn-kcdn-kcup-up",
"hold-tap/tap-preferred/4d-dn-kcdn-timer-up-kcup",
"hold-tap/tap-preferred/5-quick-tap",
"keypress/kp-press-release",
"modifiers/explicit/kp-hyper-dn-a-dn-a-up-hyper-up",
"modifiers/explicit/kp-lctl-dn-lctl-dn-lctl-up-lctl-up",
"modifiers/explicit/kp-lctl-dn-lctl-up",
"modifiers/explicit/kp-lctl-dn-lsft-dn-lctl-up-lsft-up",
"modifiers/explicit/kp-lctl-dn-lsft-dn-lsft-up-lctl-up",
"modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up",
"modifiers/implicit/kp-mod1-dn-mod2-dn-mod2-up-mod1-up",
"modifiers/mixed/kp-lctl-dn-mod-dn-lctl-up-mod-up",
"modifiers/mixed/kp-lctl-dn-mod-dn-mod-up-lctl-up",
"momentary-layer/1-normal",
"momentary-layer/2-early-key-release",
"momentary-layer/3-covered",
"momentary-layer/4-nested",
"momentary-layer/5-nested-early-key-release",
"none/layered",
"none/normal",
"sticky-keys/1-os-dn-up",
"sticky-keys/2-os-dn-up-kcdn-kcup",
"sticky-keys/2-sl-dn-up-kcdn-kcup",
"sticky-keys/3a-os-dn-kcdn-kcup-up",
"sticky-keys/3b-os-dn-kcdn-up-kcup",
"sticky-keys/4-os-dn-up-kcdn-timer-kcup",
"sticky-keys/5-os-kcdn-dn-kcup-up",
"sticky-keys/7-os-dn-up-kc1dn-kc2dn-kc1up-kc2up",
"sticky-keys/8-lsk-osk-combination",
"sticky-keys/9-sk-dn-up-dn-up",
"to-layer/normal",
"toggle-layer/early-key-release",
"toggle-layer/normal",
"transparent/layered",
"transparent/normal",
"wpm/1-single_keypress",
"wpm/2-multiple_keypress"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment