- Messages
- 1,468
- Country

Code:
<Mouse>
<Tooltip>Nose Wheel Tiller</Tooltip>
<Cursor Type="Hand"/>
<Click Kind="LeftSingle+RightSingle+WheelDown+WheelUp">
(M:Event) 'LeftSingle' scmp 0 == if{ (A:GROUND VELOCITY, knots) 40 <
if{ (L:steering,number) 0.55 + 16384 * (>K:RUDDER_SET) } }
(M:Event) 'WheelDown' scmp 0 == if{ 1 (>K:RUDDER_CENTER) }
(M:Event) 'WheelUp' scmp 0 == if{ 1 (>K:RUDDER_CENTER) }
(M:Event) 'RightSingle' scmp 0 == if{ (A:GROUND VELOCITY, knots) 40 <
if{ (L:steering,number) 0.55 - 16384 * (>K:RUDDER_SET) } }
</Click>
</Mouse>
As it stands it works but is very crude. The 0.55 represents the maximum turn rate. Is there a good way I can replace parts of this code to for example for 0.55 to progressively increase from say 0.15 and back from 0.55 to 0.15. So for each mouse press there is an increment from 0.15 to 0.55 and vice versa.
Many thanks.
