Button actions

Hello, I am making matrix panels that are to be standalone not connected to wifi. The panels are controlled by push buttons. 1 button scrolls through a range of effects from a range of presets. and 1 scrolls through colour palletes, This is all up and running and works. The only thing i would like to solve if possible is once an effect is selected, if the colour pallete is changed the next time the effects button is pressed it starts again from the first pre-set in the list and not the next preset in the range. is there a way to solve this? also is there a way to change the length of time that button becomes a ‘long press’
Many thanks for any help

I am looking for exactly the same button functions, would it be possible to share the code of your project?

No, not yet

Just use correct JSON API in your effect switching button preset. I.e. {"seg":{"fx":"~","pal":0}}
This will advance effect and set palette to “Default”.

1 Like