{
	"name": "A87H weld",
	"vendorId": "0x534B",
	"productId": "0xA087",
	"matrix": {
		"rows": 6,
		"cols": 16
	},
    "menus": [
        {
            "label": "Config",
            "content": [
                {
                    "label": "Magic",
                    "content": [
                        {
                            "label": "Toggle N-key rollover",
                            "type": "toggle",
                            "content": ["id_magic_nkro", 19, 1]
                        },
                        {
                            "label": "Toggles the status of the GUI keys",
                            "type": "toggle",
                            "content": ["id_magic_no_gui", 19, 2]
                        },
                        {
                            "label": "Toggle Alt and GUI swap on both sides",
                            "type": "toggle",
                            "content": ["id_magic_swap_alt_gui", 19, 3]
                        },
                        {
                            "label": "Treat Caps Lock as Control",
                            "type": "toggle",
                            "content": ["id_magic_caps_to_ctrl", 19, 4]
                        }
                    ]
                },
                {
                    "label": "Features",
                    "content": [
                        {
                            "label": "Debounce Mode",
                            "type": "dropdown",
                            "options": [
                                ["Default", 0],
                                ["Eager", 3]
                              ],
                            "content": ["id_cp_debounce_mode", 17, 6]
                        },
                        {
                            "label": "Debounce delay level",
                            "type": "dropdown",
                            "options": [
                                ["Level 0", 1],
                                ["Level 1", 10],
                                ["Level 2", 13],
                                ["Level 3", 17],
                                ["Level 4", 20],
                                ["Level 5", 25]
                            ],
                            "content": ["id_cp_debounce", 17, 7]
                        },
                        {
                            "label": "Matrix scan frequency",
                            "type": "dropdown",
                            "options": [
                                ["8k", 0],
                                ["6k", 1],
                                ["5k", 2],
                                ["4k", 3],
                                ["3k", 5],
                                ["2k", 10],
                                ["1k", 22]
                              ],
                            "content": ["id_cp_matrix_frequency", 17, 8]
                        }
                    ]
                },
                {
                    "label": "SOCD",
                    "content": [
                        {
                            "label": "SOCD bind 1",
                            "type": "toggle",
                            "content": ["id_cp_socd_1_state", 23, 4]
                        },
                        {
                            "showIf": "{id_cp_socd_1_state} != 0",
                            "label": "-- Bind 1 Key A",
                            "type": "keycode",
                            "content": ["id_cp_socd_1_key_a", 23, 5]
                        },
                        {
                            "showIf": "{id_cp_socd_1_state} != 0",
                            "label": "-- Bind 1 Key B",
                            "type": "keycode",
                            "content": ["id_cp_socd_1_key_b", 23, 6]
                        },
                        {
                            "label": "SOCD bind 2",
                            "type": "toggle",
                            "content": ["id_cp_socd_2_state", 23, 7]
                        },
                        {
                            "showIf": "{id_cp_socd_2_state} != 0",
                            "label": "-- Bind 2 Key A",
                            "type": "keycode",
                            "content": ["id_cp_socd_2_key_a", 23, 8]
                        },
                        {
                            "showIf": "{id_cp_socd_2_state} != 0",
                            "label": "-- Bind 2 Key B",
                            "type": "keycode",
                            "content": ["id_cp_socd_2_key_b", 23, 9]
                        }
                    ]
                },
                {
                    "label": "Alt Trig",
                    "content": [
                        {
                            "label": "Alternating trigger",
                            "type": "toggle",
                            "content": ["id_cp_alt_trig_state", 23, 1]
                        },
                        {
                            "showIf": "{id_cp_alt_trig_state} != 0",
                            "label": "First trigger ms [1 - 500 ms, default: 50ms]",
                            "type": "range",
                            "options": [1, 500],
                            "content": ["id_cp_alt_trig_start_ms", 23, 2]
                        },
                        {
                            "showIf": "{id_cp_alt_trig_state} != 0",
                            "label": "Repeat trigger ms [1 - 500 ms, default: 50ms]",
                            "type": "range",
                            "options": [1, 500],
                            "content": ["id_cp_alt_trig_repeat_ms", 23, 3]
                        }
                    ]
                },
                {
                    "label": "Firmware",
                    "content": [
                        {
                            "label": "Clear Settings",
                            "type": "toggle",
                            "content": ["id_firmware_config_reset", 16, 2]
                        },
                        {
                            "label": "Reboot Keyboard",
                            "type": "toggle",
                            "content": ["id_firmware_reboot", 16, 3]
                        },
                        {
                            "label": "Keyboard DFU",
                            "type": "toggle",
                            "content": ["id_firmware_dfu", 16, 1]
                        }
                    ]
                }
            ]
        }
    ],
	"layouts": {
        "labels": [
            "F13",
            "Split Backspace",
            "Split Left Shift",
            "Split Right Shift",
            ["Bottom Space", "625U", "Split", "7U"]
        ],
		"keymap": [
            [
                "0,0\n\n\n0,0",
                {
                "x": 1
                },
                "0,1\n\n\n0,0",
                "0,2\n\n\n0,0",
                "0,3\n\n\n0,0",
                "0,4\n\n\n0,0",
                {
                "x": 0.5
                },
                "0,6\n\n\n0,0",
                "0,7\n\n\n0,0",
                "0,8\n\n\n0,0",
                "0,9\n\n\n0,0",
                {
                "x": 0.5
                },
                "0,10\n\n\n0,0",
                "0,11\n\n\n0,0",
                "0,12\n\n\n0,0",
                "4,15\n\n\n0,0",
                {
                "x": 0.25
                },
                "0,14",
                "0,15",
                "3,13",
                "0,0\n\n\n0,1",
                {
                "x": 0.25
                },
                "0,1\n\n\n0,1",
                "0,2\n\n\n0,1",
                "0,3\n\n\n0,1",
                "0,4\n\n\n0,1",
                {
                "x": 0.25
                },
                "0,5\n\n\n0,1",
                "0,6\n\n\n0,1",
                "0,7\n\n\n0,1",
                "0,8\n\n\n0,1",
                {
                "x": 0.25
                },
                "0,9\n\n\n0,1",
                "0,10\n\n\n0,1",
                "0,11\n\n\n0,1",
                "0,12\n\n\n0,1",
                 {
                "x": 0.25
                },
                "4,15\n\n\n0,1"
            ],
            [
                {
                "y": 0.25
                },
                "1,0",
                "1,1",
                "1,2",
                "1,3",
                "1,4",
                "1,5",
                "1,6",
                "1,7",
                "1,8",
                "1,9",
                "1,10",
                "1,11",
                "1,12",
                {
                "w": 2
                },
                "1,13\n\n\n1,0",
                {
                "x": 0.25
                },
                "1,14",
                "1,15",
                "3,14",
                "1,13\n\n\n1,1",
                "5,7\n\n\n1,1"
            ],
            [
                {
                "w": 1.5
                },
                "2,0",
                "2,1",
                "2,2",
                "2,3",
                "2,4",
                "2,5",
                "2,6",
                "2,7",
                "2,8",
                "2,9",
                "2,10",
                "2,11",
                "2,12",
                {
                "w": 1.5
                },
                "2,13",
                {
                "x": 0.25
                },
                "2,14",
                "2,15",
                "3,15"
            ],
            [
                {
                "w": 1.75
                },
                "3,0",
                "3,1",
                "3,2",
                "3,3",
                "3,4",
                "3,5",
                "3,6",
                "3,7",
                "3,8",
                "3,9",
                "3,10",
                "3,11",
                {
                "w": 2.25
                },
                "3,12"
            ],
            [
                {
                "w": 2.25
                },
                "4,0\n\n\n2,0",
                "4,2",
                "4,3",
                "4,4",
                "4,5",
                "4,6",
                "4,7",
                "4,8",
                "4,9",
                "4,10",
                "4,11",
                {
                "w": 2.75
                },
                "4,12\n\n\n3,0",
                {
                "x": 1.25
                },
                "4,14",
                {
                "w": 1.25
                },
                "4,0\n\n\n2,1",
                "4,1\n\n\n2,1",
                {
                "w": 1.75
                },
                "4,12\n\n\n3,1",
                "4,13\n\n\n3,1"
            ],
            [
                {
                "w": 1.25
                },
                "5,0\n\n\n4,0",
                {
                "w": 1.25
                },
                "5,1\n\n\n4,0",
                {
                "w": 1.25
                },
                "5,2\n\n\n4,0",
                {
                "w": 6.25
                },
                "5,5\n\n\n4,0",
                {
                "w": 1.25
                },
                "5,9\n\n\n4,0",
                {
                "w": 1.25
                },
                "5,10\n\n\n4,0",
                {
                "w": 1.25
                },
                "5,11\n\n\n4,0",
                {
                "w": 1.25
                },
                "5,12\n\n\n4,0",
                {
                "x": 0.25
                },
                "5,13",
                "5,14",
                "5,15",
                {
                "c": "#dbcbba",
                "w": 1.25
                },
                "5,0\n\n\n4,1",
                {
                "w": 1.25
                },
                "5,1\n\n\n4,1",
                {
                "w": 1.25
                },
                "5,2\n\n\n4,1",
                {
                "w": 2.25
                },
                "5,4\n\n\n4,1",
                {
                "w": 1.25
                },
                "5,5\n\n\n4,1",
                {
                "w": 2.75
                },
                "5,6\n\n\n4,1",
                {
                "w": 1.25
                },
                "5,9\n\n\n4,1",
                {
                "w": 1.25
                },
                "5,10\n\n\n4,1",
                {
                "w": 1.25
                },
                "5,11\n\n\n4,1",
                {
                "w": 1.25
                },
                "5,12\n\n\n4,1",
                {
                "c": "#dbcbba",
                "w": 1.5
                },
                "5,0\n\n\n4,2",
                "5,1\n\n\n4,2",
                {
                "w": 1.5
                },
                "5,2\n\n\n4,2",
                {
                "w": 7
                },
                "5,5\n\n\n4,2",
                {
                "w": 1.5
                },
                "5,10\n\n\n4,2",
                "5,11\n\n\n4,2",
                {
                "w": 1.5
                },
                "5,12\n\n\n4,2"
            ]
		]
	}
}
