Skip to content

Instantly share code, notes, and snippets.

@keimoon
Created September 26, 2025 03:02
Show Gist options
  • Select an option

  • Save keimoon/1c38680188a7c71712cb88aba7eb3c15 to your computer and use it in GitHub Desktop.

Select an option

Save keimoon/1c38680188a7c71712cb88aba7eb3c15 to your computer and use it in GitHub Desktop.
gmk70.json
{
"name": "ZUOYA GMK70",
"vendorId": "0x342d",
"productId": "0xe491",
"keycodes": ["qmk_lighting"],
"menus": [
{
"label": "Lighting",
"content": [
{
"label": "Backlight",
"content": [
{
"label": "Brightness",
"type": "range",
"options": [0, 255],
"content": ["id_qmk_rgb_matrix_brightness", 3, 1]
},
{
"label": "Effect",
"type": "dropdown",
"content": ["id_qmk_rgb_matrix_effect", 3, 2],
"options": [
["All Off", 0],
["Solid Color", 1],
["Alphas Mods", 2],
["Gradient Up Down", 3],
["Gradient Left Right", 4],
["Breathing", 5],
["Band Sat", 6],
["Band Val", 7],
["Band Pinwheel Sat", 8],
["Band Pinwheel Val", 9],
["Band Spiral Sat", 10],
["Band Spiral Val", 11],
["Cycle All", 12],
["Cycle Left Right", 13],
["Cycle Up Down", 14],
["Rainbow Moving Chevron", 15],
["Cycle Out In", 16],
["Cycle Out In Dual", 17],
["Cycle Pinwheel", 18],
["Cycle Spiral", 19],
["Dual Beacon", 20],
["Rainbow Beacon", 21],
["Rainbow Pinwheels", 22],
["Raindrops", 23],
["Jellybean Raindrops", 24],
["Hue Breathing", 25],
["Hue Pendulum", 26],
["Hue Wave", 27],
["Pixel Rain", 28],
["Pixel Flow", 29],
["Pixel Fractal", 30],
["Typing Heatmap", 31],
["Digital Rain", 32],
["Solid Reactive Simple", 33],
["Solid Reactive", 34],
["Solid Reactive Wide", 35],
["Solid Reactive Multiwide", 36],
["Solid Reactive Cross", 37],
["Solid Reactive Multicross", 38],
["Solid Reactive Nexus", 39],
["Solid Reactive Multinexus", 40],
["Splash", 41],
["Multisplash", 42],
["Solid Splash", 43],
["Solid Multisplash", 44],
["Close All", 45]
]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} != 0",
"label": "Effect Speed",
"type": "range",
"options": [0, 255],
"content": ["id_qmk_rgb_matrix_effect_speed", 3, 3]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} != 0 && {id_qmk_rgb_matrix_effect} != 24 && {id_qmk_rgb_matrix_effect} != 28 && {id_qmk_rgb_matrix_effect} != 29 && {id_qmk_rgb_matrix_effect} != 32",
"label": "Color",
"type": "color",
"content": ["id_qmk_rgb_matrix_color", 3, 4]
}
]
}
]
}
],
"matrix": {"rows": 10, "cols": 9},
"customKeycodes": [
{"name": "BT DEV1","title": "BT Device 1","shortName": "DEV1"},
{"name": "BT DEV2","title": "BT Device 2","shortName": "DEV2"},
{"name": "BT DEV3","title": "BT Device 3","shortName": "DEV3"},
{"name": "BT DEV4","title": "BT Device 4","shortName": "DEV4"},
{"name": "BT DEV5","title": "BT Device 5","shortName": "DEV5"},
{"name": "2.4G","title": "2.4G","shortName": "DEV 2.4G"},
{"name": "USB","title": "USB","shortName": "DEV USB"}
],
"layouts": {
"keymap":
[
[
{
"c": "#777777"
},
"0,0\n\n\n\n\n\n\n\n\ne0",
{
"x": 0.25,
"c": "#cccccc"
},
"0,1",
"0,2",
"0,3",
"0,4",
"0,5",
"0,6",
"0,7",
{
"x": 0.5
},
"5,1",
"5,2",
"5,3",
"5,4",
"5,5",
"5,6",
"5,7",
{
"c": "#aaaaaa",
"w": 2
},
"5,8"
],
[
{
"c": "#cccccc"
},
"1,0",
{
"x": 0.25,
"c": "#aaaaaa",
"w": 1.5
},
"1,1",
{
"c": "#cccccc"
},
"1,2",
"1,3",
"1,4",
"1,5",
"1,6",
{
"x": 1.5
},
"6,1",
"6,2",
"6,3",
"6,4",
"6,5",
"6,6",
"6,7",
{
"w": 1.5
},
"6,8"
],
[
"2,0",
{
"x": 0.25,
"c": "#aaaaaa",
"w": 1.75
},
"2,1",
{
"c": "#cccccc"
},
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
{
"x": 1.5
},
"7,1",
"7,2",
"7,3",
"7,4",
"7,5",
{
"c": "#777777"
},
"7,6",
{
"c": "#cccccc",
"w": 2.25
},
"7,7"
],
[
"3,0",
{
"x": 0.25,
"c": "#aaaaaa",
"w": 2.25
},
"3,1",
{
"c": "#cccccc"
},
"3,2",
"3,3",
"3,4",
"3,5",
"3,6",
{
"x": 0.25
},
"8,0",
"8,1",
"8,2",
"8,3",
"8,4",
{
"c": "#aaaaaa"
},
"8,5",
{
"c": "#cccccc"
},
"8,6",
"8,7",
"8,8"
],
[
{
"c": "#aaaaaa"
},
"4,0",
{
"x": 0.25,
"w": 1.25
},
"4,1",
{
"w": 1.25
},
"4,2",
{
"w": 1.25
},
"4,3",
{
"x": 0.25,
"w": 3
},
"4,5",
{
"x": 0.75,
"c": "#cccccc",
"w": 2.75
},
"9,1",
{
"c": "#aaaaaa",
"w": 1.25
},
"9,3",
{
"w": 1.25
},
"9,4",
{
"x": 0.5
},
"9,6",
"9,7",
{
"c": "#cccccc"
},
"9,8"
]
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment