- Messages
- 10,163
- Country

Hey all,
Is this correct? I cannot get the knob to function. This is an altitude selector knob. The knob will not effect the numbers readout. The clicks occur, mouse hand works, but drag/click/wheel are not working the numbers.
Is this correct? I cannot get the knob to function. This is an altitude selector knob. The knob will not effect the numbers readout. The clicks occur, mouse hand works, but drag/click/wheel are not working the numbers.
Code:
<!-- learjet24_alt_adj_knob -->
<PartInfo>
<Name>learjet24_alt_adj_knob</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(L:LF24B SET ALT ADJUST KNOB,bool) 100 *
</Code>
<Lag>950</Lag>
</Parameter>
</Animation>
<MouseRect>
<TooltipText>Altimeter Set Adjust</TooltipText>
<Cursor>Hand</Cursor>
<MouseFlags>LeftSingle+LeftDrag+WheelUp+WheelDown+RightSingle+RightDrag</MouseFlags>
<CallbackCode>
(M:Event) 'LeftSingle' scmi 0 ==
(M:Event) 'WheelUp' scmi 0 == or
(M:Event) 'LeftDrag' scmi 0 == or
if{
1 (>L:LF24B SET ALT ADJUST KNOB,bool)
1 (>K:AP_ALT_VAR_INC)
1 (>L:XMLSND12,enum)
}
(M:Event) 'RightSingle' scmi 0 ==
(M:Event) 'WheelDown' scmi 0 == or
(M:Event) 'RightDrag' scmi 0 == or
if{
1 (>L:LF24B SET ALT ADJUST KNOB,bool)
1 (>K:AP_ALT_VAR_DEC)
1 (>L:XMLSND12,enum)
}
</CallbackCode>
</MouseRect>
</PartInfo>
Last edited:




