Skip to content

Commit

Permalink
Merge pull request #2275 from Cipulot/add_ec_menhir
Browse files Browse the repository at this point in the history
Add EC Menhir
  • Loading branch information
Cipulot authored Apr 30, 2024
2 parents ab2f6bb + c5ecba3 commit aaf1f8c
Showing 1 changed file with 285 additions and 0 deletions.
285 changes: 285 additions & 0 deletions v3/cipulot/ec_menhir/ec_menhir.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,285 @@
{
"name": "EC Menhir",
"vendorId": "0x6369",
"productId": "0x6BB8",
"matrix": {
"rows": 4,
"cols": 12
},
"menus": [
{
"label": "EC Tools",
"content": [
{
"label": "Actuation",
"content": [
{
"label": "Mode",
"type": "dropdown",
"options": [
"APC",
"Rapid Trigger"
],
"content": [
"id_actuation_mode",
0,
1
]
},
{
"showIf": "{id_actuation_mode} == 0",
"content": [
{
"label": "Actuation Level (0% | 100%)",
"type": "range",
"options": [
1,
1023
],
"content": [
"id_mode_0_actuation_threshold",
0,
2
]
},
{
"label": "Release Level (0% | 100%, ALWAYS < Actuation Level)",
"type": "range",
"options": [
1,
1023
],
"content": [
"id_mode_0_release_threshold",
0,
3
]
},
{
"label": "Apply & save changes",
"type": "button",
"options": [
0
],
"content": [
"id_save_threshold_data",
0,
4
]
}
]
},
{
"showIf": "{id_actuation_mode} == 1",
"content": [
{
"label": "Initial Deadzone Offset (0% | 100%)",
"type": "range",
"options": [
1,
1023
],
"content": [
"id_mode_1_initial_deadzone_offset",
0,
5
]
},
{
"label": "Actuation Offset (1-255)",
"type": "range",
"options": [
1,
255
],
"content": [
"id_mode_1_actuation_offset",
0,
6
]
},
{
"label": "Release Offset (1-255)",
"type": "range",
"options": [
1,
255
],
"content": [
"id_mode_1_release_offset",
0,
7
]
},
{
"label": "Apply & save changes",
"type": "button",
"options": [
1
],
"content": [
"id_save_threshold_data",
0,
4
]
}
]
}
]
},
{
"label": "Calibration",
"content": [
{
"label": "Bottoming Calibration",
"type": "toggle",
"content": [
"id_bottoming_calibration",
0,
8
]
},
{
"label": "Noise Floor Calibration (DO NOT PRESS ANY KEY WHILE CLICKING)",
"type": "button",
"options": [
0
],
"content": [
"id_noise_floor_calibration",
0,
9
]
},
{
"label": "Show Calibration Data",
"type": "button",
"options": [
0
],
"content": [
"id_show_calibration_data",
0,
10
]
},
{
"label": "Clear Bottoming Calibration Data",
"type": "button",
"options": [
0
],
"content": [
"id_clear_bottoming_calibration_data",
0,
11
]
}
]
}
]
}
],
"layouts": {
"labels": [
[
"Bottom Row",
"6.25U",
"Split"
]
],
"keymap": [
[
"0,0",
"0,1",
"0,2",
"0,3",
"0,4",
"0,5",
"0,6",
"0,7",
"0,8",
"0,9",
"0,10",
{
"w": 1.75
},
"0,11"
],
[
{
"w": 1.25
},
"1,0",
"1,1",
"1,2",
"1,3",
"1,4",
"1,5",
"1,6",
"1,7",
"1,8",
"1,9",
"1,10",
{
"w": 1.5
},
"1,11"
],
[
{
"x": 0.5,
"w": 1.25
},
"2,0",
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
"2,7",
"2,8",
"2,9",
{
"w": 1.5
},
"2,10"
],
[
{
"x": 1.75,
"w": 1.5
},
"3,1\n\n\n0,0",
{
"w": 6.25
},
"3,5\n\n\n0,0",
{
"w": 1.5
},
"3,9\n\n\n0,0"
],
[
{
"y": 0.25,
"x": 1.75,
"w": 1.25
},
"3,1\n\n\n0,1",
"3,2\n\n\n0,1",
{
"w": 2.25
},
"3,4\n\n\n0,1",
{
"w": 2.75
},
"3,6\n\n\n0,1",
"3,8\n\n\n0,1",
"3,9\n\n\n0,1"
]
]
}
}

0 comments on commit aaf1f8c

Please sign in to comment.