Skip to content

Instantly share code, notes, and snippets.

@koktoh
Created August 27, 2020 09:20
Show Gist options
  • Save koktoh/7cee3e86373b058d21e9f1879d745834 to your computer and use it in GitHub Desktop.
Save koktoh/7cee3e86373b058d21e9f1879d745834 to your computer and use it in GitHub Desktop.
bs_macro.json for VIA
{
"name": "BrownSugar Macro",
"vendorId": "0x1716",
"productId": "0x5963",
"lighting": "qmk_rgblight",
"matrix": { "rows": 3, "cols": 3 },
"layouts": {
"labels": [["Implement push switch", "Both", "Right", "Left", "None"]],
"keymap": [
[{ "d": true }, "\n\n\n0,3", { "x": 1, "d": true }, "\n\n\n0,3"],
["0,0\n\n\n0,2", { "x": 1, "d": true }, "\n\n\n0,2"],
[{ "d": true }, "\n\n\n0,1", { "x": 1 }, "0,2\n\n\n0,1"],
["0,0\n\n\n0,0", "0,1", "0,2\n\n\n0,0"],
["1,0", "1,1", "1,2"],
["2,0", "2,1", "2,2"]
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment