Device input ROTARY

Define a stateful rotary switch

0,INPUT,<index>,<tag>,ROTARY,<inherit>,<options>;

For a stateful rotary the states have to be defined in the options.

In SPAD.neXt standard UI the rotary is visualized as following (uivalue = 0):

IMG=svg/rotary.svg

Available Inherits

Options

Sending rotary input updates

8,<index>,<statevalue>;

e.g to tell SPAD.neXt that the rotary (index 5 tag E_MAGNETO) has been changed to BOTH-Position the device will send a

8,5,3;

command. SPAD.neXt will execute the events

E_MAGENTO.BOTH

E_MAGNETO.TUNER_CLOCKWISE if previous position was RIGHT and encoder inherit was present

and rotate the UI-representation absolute by 6 * 15 = 90 degrees

Last updated