Skip to content

Instantly share code, notes, and snippets.

@e04
Created September 28, 2025 23:00
Show Gist options
  • Select an option

  • Save e04/4d6ac1e9e88d4b99548cd867f4f4222a to your computer and use it in GitHub Desktop.

Select an option

Save e04/4d6ac1e9e88d4b99548cd867f4f4222a to your computer and use it in GitHub Desktop.
{
"name": "GRAB-01",
"vendorId":"0x4567",
"productId":"0x8888",
"firmwareVersion": 0,
"keycodes": ["qmk_lighting"],
"menus": [
{
"label": "rgb_matrix",
"content": [
{
"label": "rgb_matrix_regulate",
"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": [
["00.NONE",0],
["01.Solid Color",1],
["02.Alphas Mods",2],
["03.Gradient Up/Down",3],
["04.Gradient Left/Right",4],
["05.Breathing",5],
["06.Band Sat",6],
["07.Band Val",7],
["08.SPIRAL_VAL",8],
["08.Cycle All",9],
["09.Cycle Left/Right",10],
["11.Cycle Up/Down",11],
["12.Cycle OUT/IN",12],
["13.Cycle OUT/IN DUAL",13]
]
},
{
"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",
"label": "Color",
"type": "color",
"content": ["id_qmk_rgb_matrix_color", 3, 4]
}
]
}
]
}
],
"matrix": {
"rows": 6,
"cols": 22
},
"layouts": {
"keymap":[
[
{
"t":"0"
},
{
"y":0.75,
"h":1.5
},
"0,0",
{
"y":-0.25,
"h":1
},
"0,1",
{
"y":-0.25
},
"0,2",
{
"y":-0.25
},
"0,3",
{
"y":0.25
},
"0,4",
{
"y":0.25
},
"0,5",
{
"x":1,
"y":4
},
"0,7",
"0,8",
"0,9",
{
"x":1
},
"0,11",
"0,12",
"0,13",
{
"y":-4,
"x":1
},
"0,15",
{
"y":-0.25
},
"0,16",
{
"y":-0.25
},
"0,17",
{
"y":0.25
},
"0,18",
{
"y":0.25
},
"0,19",
{
"y":0.25,
"h":1.5
},
"0,20"
],
[
{
"y":0.5,
"h":1.5
},
"1,0",
{
"y":-0.75,
"h":1
},
"1,1",
{
"y":-0.25
},
"1,2",
{
"y":-0.25
},
"1,3",
{
"y":0.25
},
"1,4",
{
"y":0.25
},
"1,5",
{
"y":0.25,
"h":2
},
"1,6",
{
"y":3.75,
"w":1.25
},
"1,7",
{
"w":1
},
"1,8",
"1,9",
{
"x":0.5,
"w":1
},
"1,11",
"1,12",
{
"w":1.25
},
"1,13",
{
"y":-3.75,
"h":2
},
"1,14",
{
"y":-0.25
},
"1,15",
{
"y":-0.25
},
"1,16",
{
"y":-0.25
},
"1,17",
{
"y":0.25
},
"1,18",
{
"y":0.25
},
"1,19",
{
"y":0.75,
"h":1.5
},
"1,20"
],
[
{
"y":-0.75,
"x":1,
"h":1
},
"2,1",
{
"y":-0.25
},
"2,2",
{
"y":-0.25
},
"2,3",
{
"y":0.25
},
"2,4",
{
"y":0.25
},
"2,5",
{
"x":1,
"y":4,
"w":1.5
},
"2,7",
{
"w":1
},
"2,8",
"2,9",
{
"w":1
},
"2,11",
"2,12",
{
"w":1.5
},
"2,13",
{
"x":1,
"y":-4
},
"2,15",
{
"y":-0.25
},
"2,16",
{
"y":-0.25
},
"2,17",
{
"y":0.25
},
"2,18",
{
"y":0.25
},
"2,19"
],
[
{
"x":1,
"h":1
},
"3,1",
{
"y":-0.25
},
"3,2",
{
"y":-0.25
},
"3,3",
{
"y":0.25
},
"3,4",
{
"y":0.25
},
"3,5",
{
"x":1,
"y":4,
"w":1.25
},
"3,7",
{
"x":4.5,
"w":1.25
},
"3,13",
{
"x":1,
"y":-4
},
"3,15",
{
"y":-0.25
},
"3,16",
{
"y":-0.25
},
"3,17",
{
"y":0.25
},
"3,18",
{
"y":0.25
},
"3,19"
],
[
{
"x":7,
"y":4,
"w":1.25
},
"4,7",
{
"x":4.5,
"w":1.25
},
"4,13"
],
[
{
"x":7,
"w":1
},
"5,7",
"5,8",
"5,9",
"5,10",
"5,11",
"5,12",
"5,13"
]
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment