Gauge used as rotary dial?


Is it possible to assign a gesture to a gauge to simulate a rotary dial? Is there an easier way to enable a rotary dial with shinobi controls or gauges?


Greetings Program!

I used the rotation gesture recognizer from here and added it to the GaugeDesigner sample app and had some success with it. It was a bit picky on starting and stopping of the gesture with the gauge (but worked very well in the gesture demo).

I think if you tweak the center and radius values when instantiating the recognizer and calculating an appropriate value from the angle change and the guage min/max values, it could work very well.

I just picked the first rotation gesture I came across but there are others that might be better but it can be done.