The KnobÂ widget creates an on-screen round dialÂ that when clicked or touched, outputs a value corresponding to the position on the dial.
Use the â€œdragâ€ handle to move the knobÂ to your desired position on the screen. The position of the touchable knobÂ is independent of the widget, and when the widget is hidden, the knobÂ will stay visible.
NOTE: This widget is currently in a primitive state, and will be improved to provide more control of the visual appearance of the knob.
1 Position Knob
Drag the knobÂ to the location on the screen you want using the â€œDragâ€ element in the lower left of the knob. This position is independent of the widget itself.
2 Set the Min and Max
Set the values of the Min and Max as appropriate for your application. The defaults are 0 and 1023 respectively, but can be anything. For example, if the Button is sending values to the AudioÂ widget Volume input, you could have the Min set to 0, and the Max set to 100 to get to full volume. When theÂ Knob is at a minimum the volume will be zero (off), and as the values increase the volume will increase throughout the whole range of the knob up to full volume.