Skip to content

Commit

Permalink
Add MonsGeek M1
Browse files Browse the repository at this point in the history
  • Loading branch information
adophoxia committed Aug 14, 2023
1 parent 9ebc967 commit 2b1b58b
Showing 1 changed file with 293 additions and 0 deletions.
293 changes: 293 additions & 0 deletions v3/monsgeek/m1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,293 @@
{
"name": "MonsGeek M1",
"vendorId": "0xFFFE",
"productId": "0x0005",
"keycodes": ["qmk_lighting"],
"menus": [
{
"label": "Lighting",
"content": [
{
"label": "Backlight",
"content": [
{
"label": "Brightness",
"type": "range",
"options": [0, 200],
"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],
["BREATHING", 2],
["CYCLE_ALL", 3],
["CYCLE_LEFT_RIGHT", 4],
["CYCLE_UP_DOWN", 5],
["RAINBOW_MOVING_CHEVRON", 6],
["CYCLE_OUT_IN", 7],
["CYCLE_OUT_IN_DUAL", 8],
["CYCLE_PINWHEEL", 9],
["CYCKE_SPIRAL", 10],
["DUAL_BEACON", 11],
["RAINBOW_BEACON", 12],
["RAINDROPS", 13],
["TYPING_HEATMAP", 14],
["SOLID_REACTIVE_SIMPLE", 15],
["SOLID_REACTIVE", 16],
["MATRIX_MULTISPLASH", 17]
]
},
{
"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": 16 },
"customKeycodes":[
{"name":"RESET","title":"RESET EEPROM","shortName":"RESET"}
],
"layouts": {
"presets": {"Default": [0,0]},
"labels": [
"ISO Enter",
"Split Left Shift"
],
"keymap":[
[
{
"c": "#777777"
},
"0,0",
{
"x": 0.25,
"c": "#AAAAAA"
},
"0,1",
"0,2",
"0,3",
"0,4",
{
"x": 0.25
},
"0,5",
"0,6",
"0,7",
"0,8",
{
"x": 0.25
},
"0,9",
"0,10",
"0,11",
"0,12",
{
"x": 0.25
},
"0,13",
{
"x": 0.5
},
"0,15\n\n\n\n\n\n\n\n\ne0"
],
[
{
"y": 0.25
},
"1,0\n`",
{
"c": "#cccccc"
},
"1,1",
"1,2",
"1,3",
"1,4",
"1,5",
"1,6",
"1,7",
"1,8",
"1,9",
"1,10",
"1,11",
"1,12",
{
"c": "#AAAAAA",
"w": 2
},
"1,13",
{
"x": 0.5
},
"1,15"
],
[
{
"w": 1.5
},
"2,0",
{
"c": "#cccccc"
},
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
"2,7",
"2,8",
"2,9",
"2,10",
"2,11",
"2,12",
{
"c": "#AAAAAA",
"w": 1.5
},
"2,13\n\n\n0,0",
{
"x": 0.5
},
"2,15",
{
"x": 1.25,
"c": "#777777",
"w": 1.25,
"h": 2,
"w2": 1.5,
"h2": 1,
"x2": -0.25
},
"3,13\n\n\n0,1"
],
[
{
"c": "#AAAAAA",
"w": 1.75
},
"3,0",
{
"c": "#cccccc"
},
"3,1",
"3,2",
"3,3",
"3,4",
"3,5",
"3,6",
"3,7",
"3,8",
"3,9",
"3,10",
"3,11",
{
"c": "#777777",
"w": 2.25
},
"3,13\n\n\n0,0",
{
"x": 0.5,
"c": "#AAAAAA"
},
"3,15",
{
"x": 0.25
},
"3,12\n\n\n0,1"
],
[
{
"w": 2.25
},
"4,0\n\n\n1,0",
{
"c": "#cccccc"
},
"4,1",
"4,2",
"4,3",
"4,4",
"4,5",
"4,6",
"4,7",
"4,8",
"4,9",
"4,10",
{
"c": "#AAAAAA",
"w": 1.75
},
"4,13",
{
"x": 1.5
},
"4,15"
],
[
{
"y": -0.75,
"x": 14.25,
"c": "#777777"
},
"4,14"
],
[
{
"y": -0.25,
"c": "#AAAAAA",
"w": 1.25
},
"5,0",
{
"w": 1.25
},
"5,1",
{
"w": 1.25
},
"5,2",
{
"w": 6.25
},
"5,5",
"5,9",
"5,10",
"5,11"
],
[
{
"y": -0.75,
"x": 13.25,
"c": "#777777"
},
"5,13",
"5,14",
"5,15"
],
[
{
"c": "#AAAAAA",
"w": 1.25
},
"4,0\n\n\n1,1",
"4,11\n\n\n1,1"
]
]
}
}

0 comments on commit 2b1b58b

Please sign in to comment.