{
  "name": "TrueStrike42",
  "vendorId": "0x4243",
  "productId": "0x5453",
  "matrix": {
    "rows": 4,
    "cols": 12
  },
  "keycodes": [
    "qmk_lighting"
  ],
  "menus": [
    {
      "label": "HE Tools",
      "content": [
        {
          "label": "Actuation",
          "content": [
            {
              "label": "Mode",
              "type": "dropdown",
              "options": [
                "APC",
                "Rapid Trigger"
              ],
              "content": [
                "id_actuation_mode",
                0,
                1
              ]
            },
            {
              "showIf": "{id_actuation_mode} == 0",
              "label": "Actuation Level (0% | 100%)",
              "type": "range",
              "options": [
                1,
                1023
              ],
              "content": [
                "id_mode_0_actuation_threshold",
                0,
                2
              ]
            },
            {
              "showIf": "{id_actuation_mode} == 0",
              "label": "Release Level (0% | 100%, ALWAYS < Actuation Level)",
              "type": "range",
              "options": [
                1,
                1023
              ],
              "content": [
                "id_mode_0_release_threshold",
                0,
                3
              ]
            },
            {
              "showIf": "{id_actuation_mode} == 0",
              "label": "Apply & save changes",
              "type": "button",
              "options": [
                0
              ],
              "content": [
                "id_save_threshold_data",
                0,
                4
              ]
            },
            {
              "showIf": "{id_actuation_mode} == 1",
              "label": "Initial Deadzone Offset (0% | 100%)",
              "type": "range",
              "options": [
                1,
                1023
              ],
              "content": [
                "id_mode_1_initial_deadzone_offset",
                0,
                5
              ]
            },
            {
              "showIf": "{id_actuation_mode} == 1",
              "label": "Actuation Offset (1-255)",
              "type": "range",
              "options": [
                1,
                255
              ],
              "content": [
                "id_mode_1_actuation_offset",
                0,
                6
              ]
            },
            {
              "showIf": "{id_actuation_mode} == 1",
              "label": "Release Offset (1-255)",
              "type": "range",
              "options": [
                1,
                255
              ],
              "content": [
                "id_mode_1_release_offset",
                0,
                7
              ]
            },
            {
              "showIf": "{id_actuation_mode} == 1",
              "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": {
    "keymap": [
      [
        {
          "c": "#aaaaaa"
        },
        "0,0",
        {
          "c": "#cccccc"
        },
        "0,1",
        "0,2",
        "0,3",
        "0,4",
        "0,5",
        {
          "x": 2.5
        },
        "1,6",
        "1,7",
        "1,8",
        "1,9",
        "1,10",
        {
          "c": "#aaaaaa"
        },
        "1,11"
      ],
      [
        "0,6",
        {
          "c": "#cccccc"
        },
        "0,7",
        "0,8",
        "0,9",
        "0,10",
        "0,11",
        {
          "x": 2.5
        },
        "2,0",
        "2,1",
        "2,2",
        "2,3",
        "2,4",
        {
          "c": "#aaaaaa"
        },
        "2,5"
      ],
      [
        "1,0",
        {
          "c": "#cccccc"
        },
        "1,1",
        "1,2",
        "1,3",
        "1,4",
        "1,5",
        {
          "x": 2.5
        },
        "2,6",
        "2,7",
        "2,8",
        "2,9",
        "2,10",
        {
          "c": "#aaaaaa"
        },
        "2,11"
      ],
      [
        {
          "x": 3
        },
        "3,0",
        "3,1",
        {
          "c": "#cccccc",
          "w": 2
        },
        "3,2",
        {
          "x": 0.5,
          "w": 2
        },
        "3,3",
        {
          "c": "#aaaaaa"
        },
        "3,4",
        "3,5"
      ]
    ]
  }
}
