How to Detect Object Touch in MIRA?
I'd like to detect when a slider object in mira.frame is touched. Can this be achieved simply?
I thought of one hacky way to approximate the behavior:
1. Instantiate slider in mira.frame
2. Instantiate mira.multitouch in mira.frame & layer it over slider
3. Use mira.multitouch output to detect when finger is on slider
4. Parse and scale mira.multitouch output to update slider state
This isn't the ugliest solution but the slider is relegated to being a visual cue for the value that it would otherwise control. I'm also unsure how kosher layering objects in a mira.frame like this is.
Any guidance would be appreciated! Cheers.
Anyways, I went ahead with the above workaround and made this MIRA implementation of the app Ribn:
https://apps.apple.com/us/app/ribn/id1413777040
Please enjoy! The faders are currently set to output CC 20-27. I'm using this to drive an Endorphin.es Shuttle Control.