{
  "api_version": 1,
  "id": "dr.airlite.mk2",
  "name": "D&R Airlite MK2 (Airlite Control UDP)",
  "transport": "airlite_udp",
  "mapping_scope": true,
  "midi_names": [],
  "network": {
    "host": "127.0.0.1",
    "receive_port": 19550,
    "send_port": 19551
  },
  "inputs": {
    "AIRLITE:CH1:START": {
      "label": "Channel 1 START",
      "kind": "button",
      "action": null,
      "deck": null
    },
    "AIRLITE:CH1:STOP": {
      "label": "Channel 1 STOP",
      "kind": "button",
      "action": null,
      "deck": null
    },
    "AIRLITE:CH1:CUE": {
      "label": "Channel 1 CUE",
      "kind": "button",
      "action": null,
      "deck": null
    },
    "AIRLITE:CH2:START": {
      "label": "Channel 2 START",
      "kind": "button",
      "action": null,
      "deck": null
    },
    "AIRLITE:CH2:STOP": {
      "label": "Channel 2 STOP",
      "kind": "button",
      "action": null,
      "deck": null
    },
    "AIRLITE:CH2:CUE": {
      "label": "Channel 2 CUE",
      "kind": "button",
      "action": null,
      "deck": null
    },
    "AIRLITE:CH3:START": {
      "label": "Channel 3 START",
      "kind": "button",
      "action": "play",
      "deck": "left"
    },
    "AIRLITE:CH3:STOP": {
      "label": "Channel 3 STOP",
      "kind": "button",
      "action": "pause",
      "deck": "left"
    },
    "AIRLITE:CH3:CUE": {
      "label": "Channel 3 CUE",
      "kind": "button",
      "action": null,
      "deck": "left"
    },
    "AIRLITE:CH4:START": {
      "label": "Channel 4 START",
      "kind": "button",
      "action": "play",
      "deck": "right"
    },
    "AIRLITE:CH4:STOP": {
      "label": "Channel 4 STOP",
      "kind": "button",
      "action": "pause",
      "deck": "right"
    },
    "AIRLITE:CH4:CUE": {
      "label": "Channel 4 CUE",
      "kind": "button",
      "action": null,
      "deck": "right"
    },
    "AIRLITE:CH5:START": {
      "label": "Channel 5 START",
      "kind": "button",
      "action": null,
      "deck": null
    },
    "AIRLITE:CH5:STOP": {
      "label": "Channel 5 STOP",
      "kind": "button",
      "action": null,
      "deck": null
    },
    "AIRLITE:CH5:CUE": {
      "label": "Channel 5 CUE",
      "kind": "button",
      "action": null,
      "deck": null
    },
    "AIRLITE:CH6:START": {
      "label": "Channel 6 START",
      "kind": "button",
      "action": null,
      "deck": null
    },
    "AIRLITE:CH6:STOP": {
      "label": "Channel 6 STOP",
      "kind": "button",
      "action": null,
      "deck": null
    },
    "AIRLITE:CH6:CUE": {
      "label": "Channel 6 CUE",
      "kind": "button",
      "action": null,
      "deck": null
    },
    "AIRLITE:CH7:START": {
      "label": "Channel 7 START",
      "kind": "button",
      "action": null,
      "deck": null
    },
    "AIRLITE:CH7:STOP": {
      "label": "Channel 7 STOP",
      "kind": "button",
      "action": null,
      "deck": null
    },
    "AIRLITE:CH7:CUE": {
      "label": "Channel 7 CUE",
      "kind": "button",
      "action": null,
      "deck": null
    },
    "AIRLITE:CH8:START": {
      "label": "Channel 8 START",
      "kind": "button",
      "action": null,
      "deck": null
    },
    "AIRLITE:CH8:STOP": {
      "label": "Channel 8 STOP",
      "kind": "button",
      "action": null,
      "deck": null
    },
    "AIRLITE:CH8:CUE": {
      "label": "Channel 8 CUE",
      "kind": "button",
      "action": null,
      "deck": null
    },
    "AIRLITE:KEY1": {
      "label": "Control key 1",
      "kind": "button",
      "action": "preset_1",
      "deck": "left"
    },
    "AIRLITE:KEY2": {
      "label": "Control key 2",
      "kind": "button",
      "action": "preset_2",
      "deck": "left"
    },
    "AIRLITE:KEY3": {
      "label": "Control key 3",
      "kind": "button",
      "action": "preset_3",
      "deck": "left"
    },
    "AIRLITE:KEY4": {
      "label": "Control key 4",
      "kind": "button",
      "action": "preset_4",
      "deck": "left"
    },
    "AIRLITE:KEY5": {
      "label": "Control key 5",
      "kind": "button",
      "action": "preset_5",
      "deck": "left"
    },
    "AIRLITE:KEY6": {
      "label": "Control key 6",
      "kind": "button",
      "action": "preset_6",
      "deck": "left"
    },
    "AIRLITE:KEY7": {
      "label": "Control key 7",
      "kind": "button",
      "action": "preset_7",
      "deck": "left"
    },
    "AIRLITE:KEY8": {
      "label": "Control key 8",
      "kind": "button",
      "action": "preset_8",
      "deck": "left"
    },
    "AIRLITE:KEY9": {
      "label": "Control key 9",
      "kind": "button",
      "action": "preset_1",
      "deck": "right"
    },
    "AIRLITE:KEY10": {
      "label": "Control key 10",
      "kind": "button",
      "action": "preset_2",
      "deck": "right"
    },
    "AIRLITE:KEY11": {
      "label": "Control key 11",
      "kind": "button",
      "action": "preset_3",
      "deck": "right"
    },
    "AIRLITE:KEY12": {
      "label": "Control key 12",
      "kind": "button",
      "action": "preset_4",
      "deck": "right"
    },
    "AIRLITE:KEY13": {
      "label": "Control key 13",
      "kind": "button",
      "action": "preset_5",
      "deck": "right"
    },
    "AIRLITE:KEY14": {
      "label": "Control key 14",
      "kind": "button",
      "action": "preset_6",
      "deck": "right"
    },
    "AIRLITE:KEY15": {
      "label": "Control key 15",
      "kind": "button",
      "action": "preset_7",
      "deck": "right"
    },
    "AIRLITE:KEY16": {
      "label": "Control key 16",
      "kind": "button",
      "action": "preset_8",
      "deck": "right"
    }
  },
  "outputs": [
    {
      "button": 0,
      "state": "left.preset_1"
    },
    {
      "button": 1,
      "state": "left.preset_2"
    },
    {
      "button": 2,
      "state": "left.preset_3"
    },
    {
      "button": 3,
      "state": "left.preset_4"
    },
    {
      "button": 4,
      "state": "left.preset_5"
    },
    {
      "button": 5,
      "state": "left.preset_6"
    },
    {
      "button": 6,
      "state": "left.preset_7"
    },
    {
      "button": 7,
      "state": "left.preset_8"
    },
    {
      "button": 8,
      "state": "right.preset_1"
    },
    {
      "button": 9,
      "state": "right.preset_2"
    },
    {
      "button": 10,
      "state": "right.preset_3"
    },
    {
      "button": 11,
      "state": "right.preset_4"
    },
    {
      "button": 12,
      "state": "right.preset_5"
    },
    {
      "button": 13,
      "state": "right.preset_6"
    },
    {
      "button": 14,
      "state": "right.preset_7"
    },
    {
      "button": 15,
      "state": "right.preset_8"
    }
  ],
  "capabilities": {
    "pads_per_deck": 8
  },
  "notes": [
    "Requires manufacturer Airlite Control running and custom UDP output configured.",
    "Default channel 3 = left, channel 4 = right. Adjust mappings to actual mixer wiring.",
    "Initial snapshots and reconnects do not start or pause playback.",
    "Faders report active/inactive only. No continuous gain control.",
    "Experimental: protocol tests passed; physical MK2 not tested."
  ]
}
