Skip to content

form.addRotaryEncoder

since 26.1.0

Add a rotary encoder widget.

form.addRotaryEncoder(line, rect)

Parameters

Name Type Required Description
line FormLine yes the line where the widget should be added
rect Rect yes the coordinates

Returns

Nothing.

Examples

From the official Ethos documentation
form.addRotaryEncoder(nil, {x=0, y=0})