{
  "name": "KM16",
  "vendorId": "0x5343",
  "productId": "0x0080",
  "matrix": {"rows": 5, "cols": 4},
  
  "layouts":{
    
    "keymap":[
          ["0,0","0,1","0,2","0,3", {"x":0.5},"4,2\n\n\n\n\n\n\n\n\ne0", {"x":0.5},"4,1\n\n\n\n\n\n\n\n\ne1"],
          ["1,0","1,1","1,2","1,3"],
          ["2,0","2,1","2,2","2,3", {"x":0.75},{"w":2},"4,3\n\n\n\n\n\n\n\n\ne2"],
          ["3,0","3,1","3,2","3,3"]

      ]
  },

  "keycodes": ["qmk_lighting"],
  "customKeycodes": [
    {"name": "KC_USB", "title": "USB MODE", "shortName": "USB"}
    ],
    "menus": [
      {
        "label": "Lighting",
        "content": [

          {
            "label": "Underglow",
            "content": [
              {
                "label": "Brightness",
                "type": "range",
                "options": [0, 255],
                "content": ["id_qmk_rgblight_brightness", 2, 1]
              },
              {
                "label": "Effect",
                "type": "dropdown",
                "content": ["id_qmk_rgblight_effect", 2, 2],
                "options": [
                  "All Off",
                  "Solid Color",
                  "Breathing 1",
                  "Breathing 2",
                  "Breathing 3",
                  "Breathing 4",
                  "Rainbow Mood 1",
                  "Rainbow Mood 2",
                  "Rainbow Mood 3",
                  "Rainbow Swirl 1",
                  "Rainbow Swirl 2",
                  "Rainbow Swirl 3",
                  "Rainbow Swirl 4",
                  "Rainbow Swirl 5",
                  "Rainbow Swirl 6",
                  "Snake 1",
                  "Snake 2",
                  "Snake 3",
                  "Snake 4",
                  "Snake 5",
                  "Snake 6",
                  "Knight 1",
                  "Knight 2",
                  "Knight 3",
                  "Christmas",
                  "Gradient 1",
                  "Gradient 2",
                  "Gradient 3",
                  "Gradient 4",
                  "Gradient 5",
                  "Gradient 6",
                  "Gradient 7",
                  "Gradient 8",
                  "Gradient 9",
                  "Gradient 10",
                  "RGB Test",
                  "Alternating",
                  "Twinkle 1",
                  "Twinkle 2",
                  "Twinkle 3",
                  "Twinkle 4",
                  "Twinkle 5",
                  "Twinkle 6"
                ]
              },
              {
                "showIf": "{id_qmk_rgblight_effect} != 0",
                "label": "Effect Speed",
                "type": "range",
                "options": [0, 255],
                "content": ["id_qmk_rgblight_effect_speed", 2, 3]
              },
              {
                "showIf": "{id_qmk_rgblight_effect} != 0 && {id_qmk_rgblight_effect} != 35",
                "label": "Color",
                "type": "color",
                "content": ["id_qmk_rgblight_color", 2, 4]
              }
            ]
          },
          {

            "label": "Backlight",
            "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": [
                  "\u5168\u7184All Off",
                  "\u5355\u8272Solid Color",
                  "\u63a7\u5236\u952eAlphas Mods",
                  "\u4e0a\u4e0b\u6e10\u53d8Gradient Up/Down",
                  "\u5de6\u53f3\u6e10\u53d8Gradient Left/Right",
                  "\u547c\u5438Breathing",
                  "\u9971\u548c\u5ea6\u6761Band Sat.",
                  "\u4eae\u5ea6\u6761Band Val.",
                  "\u9971\u548c\u5ea6\u98ce\u8f66Pinwheel Sat.",
                  "\u4eae\u5ea6\u6761\u98ce\u8f66Pinwheel Val.",
                  "\u9971\u548c\u5ea6\u87ba\u65cbSpiral Sat.",
                  "\u4eae\u5ea6\u6761\u87ba\u65cbSpiral Val.",
                  "\u5168\u5faa\u73afCycle All",
                  "\u5de6\u53f3\u5faa\u73afCycle Left/Right",
                  "\u4e0a\u4e0b\u5faa\u73afCycle Up/Down",
                  "\u5185\u5916\u5faa\u73afCycle Out/In",
                  "\u5185\u5916\u53cc\u5faa\u73afCycle Out/In Dual",
                  "\u5f69\u8679Rainbow Moving Chevron",
                  "\u5faa\u73af\u98ce\u8f66Cycle Pinwheel",
                  "\u5faa\u73af\u87ba\u65cbCycle Spiral",
                  "\u53cc\u706f\u5854Dual Beacon",
                  "\u5f69\u8679\u706f\u5854Rainbow Beacon",
                  "\u5f69\u8679\u98ce\u8f66Rainbow Pinwheels"
                ]
              },
              {
                "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 && {id_qmk_rgb_matrix_effect} != 24 && {id_qmk_rgb_matrix_effect} != 28 && {id_qmk_rgb_matrix_effect} != 29 && {id_qmk_rgb_matrix_effect} != 32",
                "label": "Color",
                "type": "color",
                "content": ["id_qmk_rgb_matrix_color", 3, 4]
              }


            ]
          }
        ]
      }
    ]
}

