Duplex for Launchpad X is coming soon

GridPie of Duplex works with Launchpad X now🥧
I am developping other configuration and something, just a moment, please.
If you use Launchpad X on Mac or Linux, please inform me its MIDI Port In and Out names (it has two names). Launchpad X can switch Session mode and Standalone mode on itself, so it has two MIDI Interfaces.

Now I set like this (but, I dont know it is right)

local p = os.platform()

LaunchpadX.device_properties_default = {
  class_name = "LaunchpadX",
  display_name = "Launchpad X",
  device_port_in = ((p == "WINDOWS" and "MIDIIN2 (LPX MIDI)") or (p == "MACINTOSH" and "Launchpad X LPX MIDI In") or (p == "LINUX" and "Launchpad X MIDI 2")),
  device_port_out = ((p == "WINDOWS" and "MIDIOUT2 (LPX MIDI)") or (p == "MACINTOSH" and "Launchpad X LPX MIDI Out") or (p == "LINUX" and "Launchpad X MIDI 2")),
}

LaunchpadX.daw_device_properties_default = {
  class_name = "LaunchpadX",
  display_name = "Launchpad X (DAW)",
  device_port_in = ((p == "WINDOWS" and "LPX MIDI") or (p == "MACINTOSH" and "Launchpad X LPX DAW In") or (p == "LINUX" and "Launchpad X")),
  device_port_out = ((p == "WINDOWS" and "LPX MIDI") or (p == "MACINTOSH" and "Launchpad X LPX DAW Out") or (p == "LINUX" and "Launchpad X")),
}

EDIT: Oh, sorry, I’ve got a Launchpad pro mk3, that’s not the device you’re referring to. But maybe there’s a way to include it?

nice :slight_smile:

I’m on linux, the midi ports look like this:

1 Like

Thank you for giving Launchpad Pro MK3 infromation!
Actually Launchpad Pro MK3 is a superset of Launchpad X. Also the programmer guide book for Pro MK3 is more courteous than the book for X and useful to develop X lol. I think Pro Mk3 can use all features of X, so this apllication can applied to Pro Mk3 with fixing a little. I will try it after done X, but I dont have Pro MK3 and I have to try debug it while closing my eyes and ears :see_no_evil::hear_no_evil:. In that time, someone please help me.