Nux NMP-2 is a universal dual switch controller with Open, Close and Latch modes, and as it's a combination of momentary and latch type controllers, you can use it in both ways. You can connect to any amplifier or pedal with 1/4" jack controller input, and it's also compatible to use with keyboards, synthesizers etc.
Just make sure the equipment has the global control input and NMP-2 will work perfectly. NUX NMP-2 is also works with: Nux Loop Core Deluxe, Nux JTC Drum & Loop PRO and Nux Cerberus.