Tools/com.renoise.Duplex.xrnx/Duplex/Controllers/MPD32/Configurations/MixerMatrixEffectsTransport.lua
--[[----------------------------------------------------------------------------
-- Duplex.MPD32
----------------------------------------------------------------------------]]--

duplex_configurations:insert {

  -- configuration properties
  name = "Mixer + Matrix + Effects + Transport",
  pinned = true,

  -- device properties
  device = {
    class_name = nil,
    display_name = "MPD32",
    device_port_in = "Akai MPD32 (Port 1)",
    device_port_out = "Akai MPD32 (Port 1)",
    control_map = "Controllers/MPD32/Controlmaps/MPD32.xml",
    thumbnail = "Controllers/MPD32/MPD32.bmp",
    protocol = DEVICE_PROTOCOL.MIDI
  },
  applications = {
    Mixer = {
      mappings = {
        levels = {
          group_name = "Faders",
        },
        page = {
          group_name = "Switches",
          index = 5,
        }
      }
    },
    Matrix = {
      mappings = {
        matrix = {
          group_name = "Pads",
        }
      }
    },
    Effect = {
      mappings = {
        parameters = {
          group_name= "Knobs",
        },
        param_prev = {
          group_name = "Switches",
          index = 7,
        },
        param_next = {
          group_name = "Switches",
          index = 8,
        },

      }
    },
    Transport = {
      mappings = {
        goto_previous = {
          group_name = "Switches",
          index = 1,
        },
        goto_next = {
          group_name= "Switches",
          index = 2,
        },
        start_playback = {
          group_name = "Switches",
          index = 3,
        },
        loop_pattern = {
          group_name = "Switches",
          index = 4,
        },
      },
      options = {
        pattern_play = 3,
      }
    },
  }
}
