Dave, would it be possible to have three different methods of cycling, namely:

wrap         example:  1-2-3-1-2-3-1...
reverse    example:  1-2-3-2-1-2-3...
none         example:  1-2-3-3-3-3-3...

The reverse method would work nicely with a 3 position switch (i.e. 
LEFT-BOTH-RIGHT).

The none method would be good for cycling through flap positions (i.e. 
UP-1-2-5-10-15-25-30-40, where a wrap could be nasty)

Dave Culp


>I've added a new command to cycle a property through an enumerated
>list of values.  It looks like this:
>
>  <binding>
>   <command>property-cycle</command>
>   <property>/foo/bar</property>
>   <value>value1</value>
>   <value>value2</value>
>   <value>value3</value>
>  </binding>
>
>
>If the current value is "value1", it will change to "value2"; if it is
>"value2", it will change to "value3", and so on, wrapping around the
>end.  If the value is not in the list, it will jump to the first one
>("value1" in this case).


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to