openAVproductions / openAV-Luppp

Luppp is a live performance tool, created by OpenAV productions.
http://openavproductions.com/luppp
GNU General Public License v3.0
258 stars 45 forks source link

Toggle Mode for buttons #141

Open georgkrause opened 7 years ago

georgkrause commented 7 years ago

Some midi controllers send a on message on pressing a button and a off message on releasing the button. sending this signal to any button of luppp actives this button when i press it but deactivates it when i release it. So i want luppp to handle a toggle mode. i want to set the toggle for the button in the .ctrl-file. when its on, i want that luppp ignores the off message and toggles the button on every on message (turning off if its on, turning on if its off)

geraldmwangi commented 7 years ago

the toggle mode actually always means cc>64 (on) or cc<64 (off), nothing more. Buttons can be bound to that I think?

georgkrause commented 7 years ago

well, actually not every controller has the possibility to bind the buttons. my apc mini cannot do this, this is why i want luppp can do this. I think all the popular grid controllers cannot be programmed (apc mini, apc, apc key, launchpad) so it would make sense to implement something like that.

Gimmeapill commented 7 years ago

Adding the Nanopad2 to the list (not really a grid controller though)

harryhaaren commented 7 years ago

@georgkrause : to keep the conversation relevant, I'm prototyping a totally new way of doing bindings (both for USB HID devices, and MIDI controllers) that is much more flexible, scriptable and awesome in general. A lot of progress has been made in the last week, and supporting Toggle type buttons etc would become much easier with it.

@Gimmeapill If the NanoPad2 is a MIDI device (IIRC?), adding a script for custom control of Luppp will become very easy :)

Gimmeapill commented 7 years ago

@harryhaaren: yep, just basic midi over usb

harryhaaren commented 6 years ago

Update - Mappa should handle this "toggle" or "momentary" button distinction.