{
  "name": "NerdBoard60",
  "vendorId": "0x5A5A",
  "productId": "0x4E42",
  "keycodes": [
    "qmk_lighting"
  ],
  "customKeycodes": [
    {
      "name": "TGL\nNext",
      "title": "Toggle the next key: it stays held until you press it again",
      "shortName": "TGL Nx"
    },
    {
      "name": "TGL\nShift",
      "title": "Shift: tap to latch on or off, hold to use normally",
      "shortName": "TGL Sft"
    },
    {
      "name": "TGL\nCtrl",
      "title": "Ctrl: tap to latch on or off, hold to use normally",
      "shortName": "TGL Ctl"
    },
    {
      "name": "TGL\nAlt",
      "title": "Alt (Option on macOS): tap to latch on or off, hold to use normally",
      "shortName": "TGL Alt"
    },
    {
      "name": "TGL\nGUI",
      "title": "Win (Command on macOS): tap to latch on or off, hold to use normally",
      "shortName": "TGL GUI"
    },
    {
      "name": "TGL\nClick",
      "title": "Left mouse button: tap to latch on or off, hold to use normally",
      "shortName": "TGL Clk"
    },
    {
      "name": "OS\nAuto",
      "title": "Modifier layout: detect Windows or macOS automatically",
      "shortName": "OS Auto"
    },
    {
      "name": "OS\nWin",
      "title": "Modifier layout: Windows (Ctrl, Win, Alt)",
      "shortName": "OS Win"
    },
    {
      "name": "OS\nMac",
      "title": "Modifier layout: macOS (Control, Option, Command)",
      "shortName": "OS Mac"
    },
    {
      "name": "SOCD\nToggle",
      "title": "Turn SOCD on or off for opposing keys",
      "shortName": "SOCD"
    }
  ],
  "menus": [
    {
      "label": "Lighting",
      "content": [
        {
          "label": "Key Lighting",
          "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": [
                [
                  "All Off",
                  0
                ],
                [
                  "Solid Color",
                  1
                ],
                [
                  "Alphas Mods",
                  2
                ],
                [
                  "Gradient Up Down",
                  3
                ],
                [
                  "Gradient Left Right",
                  4
                ],
                [
                  "Breathing",
                  5
                ],
                [
                  "Band Sat",
                  6
                ],
                [
                  "Band Val",
                  7
                ],
                [
                  "Band Pinwheel Sat",
                  8
                ],
                [
                  "Band Pinwheel Val",
                  9
                ],
                [
                  "Band Spiral Sat",
                  10
                ],
                [
                  "Band Spiral Val",
                  11
                ],
                [
                  "Cycle All",
                  12
                ],
                [
                  "Cycle Left Right",
                  13
                ],
                [
                  "Cycle Up Down",
                  14
                ],
                [
                  "Rainbow Moving Chevron",
                  15
                ],
                [
                  "Cycle Out In",
                  16
                ],
                [
                  "Cycle Out In Dual",
                  17
                ],
                [
                  "Cycle Pinwheel",
                  18
                ],
                [
                  "Cycle Spiral",
                  19
                ],
                [
                  "Dual Beacon",
                  20
                ],
                [
                  "Rainbow Beacon",
                  21
                ],
                [
                  "Rainbow Pinwheels",
                  22
                ],
                [
                  "Flower Blooming",
                  23
                ],
                [
                  "Raindrops",
                  24
                ],
                [
                  "Jellybean Raindrops",
                  25
                ],
                [
                  "Hue Breathing",
                  26
                ],
                [
                  "Hue Pendulum",
                  27
                ],
                [
                  "Hue Wave",
                  28
                ],
                [
                  "Pixel Rain",
                  29
                ],
                [
                  "Pixel Flow",
                  30
                ],
                [
                  "Pixel Fractal",
                  31
                ],
                [
                  "Typing Heatmap",
                  32
                ],
                [
                  "Digital Rain",
                  33
                ],
                [
                  "Solid Reactive Simple",
                  34
                ],
                [
                  "Solid Reactive",
                  35
                ],
                [
                  "Solid Reactive Wide",
                  36
                ],
                [
                  "Solid Reactive Multiwide",
                  37
                ],
                [
                  "Solid Reactive Cross",
                  38
                ],
                [
                  "Solid Reactive Multicross",
                  39
                ],
                [
                  "Solid Reactive Nexus",
                  40
                ],
                [
                  "Solid Reactive Multinexus",
                  41
                ],
                [
                  "Splash",
                  42
                ],
                [
                  "Multisplash",
                  43
                ],
                [
                  "Solid Splash",
                  44
                ],
                [
                  "Solid Multisplash",
                  45
                ],
                [
                  "Starlight Smooth",
                  46
                ],
                [
                  "Starlight",
                  47
                ],
                [
                  "Starlight Dual Sat",
                  48
                ],
                [
                  "Starlight Dual Hue",
                  49
                ],
                [
                  "Riverflow",
                  50
                ],
                [
                  "Custom Colors",
                  51
                ]
              ]
            },
            {
              "showIf": "{id_qmk_rgb_matrix_effect} != 0 && {id_qmk_rgb_matrix_effect} != 51",
              "label": "Effect Speed",
              "type": "range",
              "options": [
                0,
                255
              ],
              "content": [
                "id_qmk_rgb_matrix_effect_speed",
                3,
                3
              ]
            },
            {
              "showIf": "{id_qmk_rgb_matrix_effect} != 0 && {id_qmk_rgb_matrix_effect} != 51",
              "label": "Color",
              "type": "color",
              "content": [
                "id_qmk_rgb_matrix_color",
                3,
                4
              ]
            }
          ]
        },
        {
          "label": "Underglow",
          "content": [
            {
              "label": "Mode",
              "type": "dropdown",
              "content": [
                "id_nerdboard_underglow_mode",
                0,
                1
              ],
              "options": [
                [
                  "Follow Keys",
                  0
                ],
                [
                  "Solid Color",
                  1
                ],
                [
                  "Off",
                  2
                ],
                [
                  "Custom Colors",
                  3
                ]
              ]
            },
            {
              "showIf": "{id_nerdboard_underglow_mode} == 1 || {id_nerdboard_underglow_mode} == 3",
              "label": "Brightness",
              "type": "range",
              "options": [
                0,
                255
              ],
              "content": [
                "id_nerdboard_underglow_brightness",
                0,
                2
              ]
            },
            {
              "showIf": "{id_nerdboard_underglow_mode} == 1",
              "label": "Color",
              "type": "color",
              "content": [
                "id_nerdboard_underglow_color",
                0,
                3
              ]
            }
          ]
        }
      ]
    },
    {
      "label": "Keys",
      "content": [
        {
          "label": "OS Layout",
          "content": [
            {
              "label": "Modifier layout",
              "type": "dropdown",
              "content": [
                "id_nerdboard_os_mode",
                0,
                4
              ],
              "options": [
                [
                  "Auto-detect",
                  0
                ],
                [
                  "Windows",
                  1
                ],
                [
                  "macOS",
                  2
                ]
              ]
            }
          ]
        },
        {
          "label": "Tap-Hold",
          "content": [
            {
              "label": "Tapping term (ms)",
              "type": "range",
              "options": [
                100,
                500
              ],
              "content": [
                "id_nerdboard_tapping_term",
                0,
                5
              ]
            },
            {
              "label": "Hold decision",
              "type": "dropdown",
              "content": [
                "id_nerdboard_hold_mode",
                0,
                6
              ],
              "options": [
                [
                  "Timing only",
                  0
                ],
                [
                  "Permissive hold",
                  1
                ],
                [
                  "Hold on other key press",
                  2
                ]
              ]
            }
          ]
        },
        {
          "label": "SOCD",
          "content": [
            {
              "label": "Enabled",
              "type": "toggle",
              "content": [
                "id_nerdboard_socd_enabled",
                0,
                7
              ]
            },
            {
              "showIf": "{id_nerdboard_socd_enabled} == 1",
              "label": "Both keys held",
              "type": "dropdown",
              "content": [
                "id_nerdboard_socd_mode",
                0,
                8
              ],
              "options": [
                [
                  "Last input wins",
                  0
                ],
                [
                  "Neutral (neither)",
                  1
                ]
              ]
            },
            {
              "showIf": "{id_nerdboard_socd_enabled} == 1",
              "label": "Keys",
              "type": "dropdown",
              "content": [
                "id_nerdboard_socd_keys",
                0,
                9
              ],
              "options": [
                [
                  "A/D and W/S",
                  0
                ],
                [
                  "Arrow keys",
                  1
                ],
                [
                  "Both",
                  2
                ]
              ]
            }
          ]
        }
      ]
    }
  ],
  "matrix": {
    "rows": 5,
    "cols": 15
  },
  "layouts": {
    "keymap": [
      [
        "\n\n\n\n\n\n\n\n\ne0"
      ],
      [
        "0,0",
        "0,1",
        "0,2",
        "0,3",
        "0,4",
        "0,5",
        "0,6",
        "0,7",
        "0,8",
        "0,9",
        "0,10",
        "0,11",
        "0,12",
        {
          "w": 2
        },
        "0,14"
      ],
      [
        {
          "w": 1.5
        },
        "1,0",
        "1,2",
        "1,3",
        "1,4",
        "1,5",
        "1,6",
        "1,7",
        "1,8",
        "1,9",
        "1,10",
        "1,11",
        "1,12",
        "1,13",
        {
          "w": 1.5
        },
        "1,14"
      ],
      [
        {
          "w": 1.75
        },
        "2,0",
        "2,2",
        "2,3",
        "2,4",
        "2,5",
        "2,6",
        "2,7",
        "2,8",
        "2,9",
        "2,10",
        "2,11",
        "2,12",
        {
          "w": 2.25
        },
        "2,13"
      ],
      [
        {
          "w": 2
        },
        "3,1",
        "3,2",
        "3,3",
        "3,4",
        "3,5",
        "3,6",
        "3,7",
        "3,8",
        "3,9",
        "3,10",
        "3,11",
        "3,12",
        {
          "w": 2
        },
        "3,14"
      ],
      [
        {
          "w": 1.25
        },
        "4,0",
        {
          "w": 1.25
        },
        "4,1",
        {
          "w": 1.25
        },
        "4,3",
        {
          "w": 6.25
        },
        "4,6",
        "4,10",
        "4,11",
        "4,12",
        "4,13",
        "4,14"
      ]
    ]
  }
}
