Tools/com.renoise.Duplex.xrnx/Duplex/Controllers/KONTROL49/Configurations/GridPie.lua
--[[----------------------------------------------------------------------------
-- Duplex.KONTROL49
----------------------------------------------------------------------------]]--

duplex_configurations:insert {

  -- configuration properties
  name = "GridPie + Mixer",
  pinned = true,

  -- device properties
  device = {
    display_name = "KONTROL49",
    device_port_in = "MIDIIN2 (KONTROL49)",
    device_port_out = "MIDIOUT2 (KONTROL49)",
    control_map = "Controllers/KONTROL49/Controlmaps/KONTROL49_GridPie.xml",
    thumbnail = "Controllers/KONTROL49/KONTROL49.bmp",
    protocol = DEVICE_PROTOCOL.MIDI
  },

  applications = {
    GridPie = {
      mappings = {
        grid = {
          group_name = "Pads"
        },
        h_prev = {
          group_name = "Switches",
          index = 1
        },
        h_next = {
          group_name = "Switches",
          index = 2
        }
      },
      options = {
        v_step = 2,
        h_step = 2,
      }
    },
    Mixer = {
      mappings = {
        panning = {
          group_name = "Encoders"
        },
        levels = {
          group_name = "Sliders"
        },
        master = {
          group_name = "Master"
        }
      },
      options = {
        pre_post = 2
      }
    }
  }
}

