{
  "keyboard_name": "Macropad v2",
  "manufacturer": "GeebBoards",
  "url": "https://geekboards.ru/",
  "maintainer": "ruddy17",
  "usb": {
    "vid": "0x0483",
    "pid": "0xA372",
    "device_version": "0.0.2",
    "wait_for_enumeration": true
  },
  "qmk": {
    "tap_keycode_delay": 10
  },
  "ws2812": {
    "pin": "A7",
    "driver": "pwm"
  },
  "rgb_matrix": {
    "animations": {
      "gradient_up_down": true,
      "gradient_left_right": true,
      "breathing": true,
      "band_val": true,
      "cycle_all": true,
      "cycle_left_right": true,
      "cycle_up_down": true,
      "cycle_out_in_dual": true,
      "cycle_pinwheel": true,
      "dual_beacon": true,
      "hue_breathing": true,
      "hue_pendulum": true,
      "hue_wave": true,
      "pixel_flow": true,
      "pixel_fractal": true,
      "typing_heatmap": true,
      "digital_rain": true,
      "solid_reactive": true,
      "solid_reactive_wide": true,
      "solid_reactive_multiwide": true,
      "solid_reactive_nexus": true,
      "solid_reactive_multinexus": true,
      "splash": true,
      "multisplash": true,
      "solid_splash": true,
      "solid_multisplash": true
    },
    "default": {
      "animation": "cycle_up_down",
      "speed": 30,
      "val": 192
    },
    "driver": "ws2812",
    "layout": [
        {"matrix": [1, 1], "x": 85, "y": 46, "flags": 4},
        {"x": 85, "y": 64, "flags": 2},
        {"x": 67, "y": 64, "flags": 2},
        {"x": 49, "y": 64, "flags": 2},
        {"x": 31, "y": 64, "flags": 2},
        {"x": 13, "y": 64, "flags": 2},
        {"matrix": [1, 0], "x": 31, "y": 46, "flags": 4},
        {"x": 0, "y": 55, "flags": 2},
        {"x": 0, "y": 46, "flags": 2},
        {"x": 0, "y": 37, "flags": 2},
        {"x": 0, "y": 27, "flags": 2},
        {"x": 0, "y": 18, "flags": 2},
        {"x": 0, "y": 9, "flags": 2},
        {"matrix": [0, 0], "x": 31, "y": 18, "flags": 4},
        {"x": 13, "y": 0, "flags": 2},
        {"x": 31, "y": 0, "flags": 2},
        {"x": 49, "y": 0, "flags": 2},
        {"x": 67, "y": 0, "flags": 2},
        {"x": 85, "y": 0, "flags": 2},
        {"matrix": [0, 1], "x": 85, "y": 18, "flags": 4},
        {"matrix": [0, 2], "x": 139, "y": 18, "flags": 4},
        {"x": 139, "y": 0, "flags": 2},
        {"x": 157, "y": 0, "flags": 2},
        {"x": 175, "y": 0, "flags": 2},
        {"x": 193, "y": 0, "flags": 2},
        {"x": 211, "y": 0, "flags": 2},
        {"matrix": [0, 3], "x": 193, "y": 18, "flags": 4},
        {"x": 224, "y": 9, "flags": 2},
        {"x": 224, "y": 18, "flags": 2},
        {"x": 224, "y": 27, "flags": 2},
        {"x": 224, "y": 37, "flags": 2},
        {"x": 224, "y": 46, "flags": 2},
        {"x": 224, "y": 55, "flags": 2},
        {"matrix": [1, 3], "x": 193, "y": 46, "flags": 4},
        {"x": 211, "y": 64, "flags": 2},
        {"x": 193, "y": 64, "flags": 2},
        {"x": 175, "y": 64, "flags": 2},
        {"x": 157, "y": 64, "flags": 2},
        {"matrix": [1, 2], "x": 139, "y": 46, "flags": 4},
        {"x": 139, "y": 64, "flags": 2},
        {"x": 121, "y": 64, "flags": 2},
        {"x": 103, "y": 64, "flags": 2}
    ],
    "sleep": true
  },
  "processor": "STM32F072",
  "bootloader": "stm32-dfu",
  "features": {
    "bootmagic": true,
    "extrakey": true,
    "mousekey": true,
    "nkro": true,
    "rgb_matrix": true
  },
  "matrix_pins": {
    "direct": [
      ["B13", "B15", "B3", "B5"],
      ["B12", "B14", "A13", "B7"]
    ]
  },
  "debounce": 3,
  "layouts": {
    "LAYOUT_ortho_2x4": {
      "layout": [
        {"x": 0, "y": 0, "matrix": [0, 0]},
        {"x": 1, "y": 0, "matrix": [0, 1]},
        {"x": 2, "y": 0, "matrix": [0, 2]},
        {"x": 3, "y": 0, "matrix": [0, 3]},

        {"x": 0, "y": 1, "matrix": [1, 0]},
        {"x": 1, "y": 1, "matrix": [1, 1]},
        {"x": 2, "y": 1, "matrix": [1, 2]},
        {"x": 3, "y": 1, "matrix": [1, 3]}
      ]
    }
  }
}
