Thank you ! It worked for me.
To help @PeterJared and for future reference:
- OpenStageControl version 0.49.4
- add a Switch widget
- add some values (at least 4 to see 2 rows)
- in Style -> css, put the CSS class given in this post
This should do the trick
Bonus: make it send MIDI program changes
My need was to make the widget send MIDI program changes. To do this:
- address:
/program
- pre-args:
1
(midi channel 1) - target:
"midi:openstage"
(replaceopenstage
with the value you gave to--midi
in command line (in my case:-m openstage:virtual
)
Thanks a lot @jean-emmanuel