openAV-Luppp icon indicating copy to clipboard operation
openAV-Luppp copied to clipboard

Toggle Mode for buttons

Open georgkrause opened this issue 8 years ago • 6 comments

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)

georgkrause avatar Nov 29 '16 13:11 georgkrause

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

geraldmwangi avatar Nov 29 '16 18:11 geraldmwangi

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.

georgkrause avatar Nov 30 '16 09:11 georgkrause

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

Gimmeapill avatar Nov 30 '16 09:11 Gimmeapill

@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 :)

harryhaaren avatar Dec 04 '16 11:12 harryhaaren

@harryhaaren: yep, just basic midi over usb

Gimmeapill avatar Dec 05 '16 19:12 Gimmeapill

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

harryhaaren avatar Jul 14 '18 11:07 harryhaaren