This mod is working with v1.0.8 of the ATR. It might not be necessary anymore in the current version! I haven't tested it without this mod in the current version yet. With this mod, you will be able to control HDG, VS, SPD, ALT, CRS1 and CRS2 by LVARs and also have the knobs rotating in the cockpit.
Instructions:
Put the contents of the zip in your community folder, and use the following definitions in your hardware program (SPAD.next, Mobiflight) to use the new LVARs.
The new LVARs for rotating the knobs are (use +1 for clockwise rotation, -1 for counterclockwise). This is only to get the knobs to rotate, the logic given below is required as well to set the values:
MSATR_ALT_KNOB
MSATR_VS_KNOB
MSATR_CRS1_KNOB
MSATR_CRS2_KNOB
MSATR_TGT_KNOB (this is speed)
Due to the code of the ATR, MSATR_HDG works slightly different, and does indeed effect the actual hdg value. You can use 1 or -1, but also 2 or -2 for faster scrolling.
Below are the Mobiflight definitions I use to control the different variables. You will see that I included the new LVARs at the end of each definition to get the rotation of the knobs.
MSATR_ALT_INC# (L:MSATR_FGCP_ALTSEL, number) 5 + 100 min (>L:MSATR_FGCP_ALTSEL) (L:MSATR_FGCP_ALTSEL_DELTA) ++ (>L:MSATR_FGCP_ALTSEL_DELTA) 1 (>L:MSATR_ALT_KNOB)
MSATR_ALT_DEC# (L:MSATR_FGCP_ALTSEL, number) 5 - 0 max (>L:MSATR_FGCP_ALTSEL) (L:MSATR_FGCP_ALTSEL_DELTA) -- (>L:MSATR_FGCP_ALTSEL_DELTA) -1 (>L:MSATR_ALT_KNOB)
MSATR_VS_DEC#(L:MSATR_FCGP_PITCH_WHEEL, number) 1 - 0 max (>L:MSATR_FCGP_PITCH_WHEEL) (L:MSATR_FCGP_PITCH_WHEEL_DELTA) -- (>L:MSATR_FCGP_PITCH_WHEEL_DELTA) -1 (>L:MSATR_VS_KNOB)
MSATR_VS_INC#(L:MSATR_FCGP_PITCH_WHEEL, number) 1 + 100 min (>L:MSATR_FCGP_PITCH_WHEEL) (L:MSATR_FCGP_PITCH_WHEEL_DELTA) ++ (>L:MSATR_FCGP_PITCH_WHEEL_DELTA) 1 (>L:MSATR_VS_KNOB)
MSATR_CRS1_INC#(L:MSATR_FGCP_CRS1, number) 5 + 100 min (>L:MSATR_FGCP_CRS1) (L:MSATR_FGCP_CRS1_DELTA) ++ (>L:MSATR_FGCP_CRS1_DELTA) 1 (>L:MSATR_CRS1_KNOB)
MSATR_CRS1_DEC#(L:MSATR_FGCP_CRS1, number) 5 - 0 max (>L:MSATR_FGCP_CRS1) (L:MSATR_FGCP_CRS1_DELTA) -- (>L:MSATR_FGCP_CRS1_DELTA) -1 (>L:MSATR_CRS1_KNOB)
MSATR_CRS2_INC#(L:MSATR_FGCP_CRS2, number) 5 + 100 min (>L:MSATR_FGCP_CRS2) (L:MSATR_FGCP_CRS2_DELTA) ++ (>L:MSATR_FGCP_CRS2_DELTA) 1 (>L:MSATR_CRS2_KNOB)
MSATR_CRS2_DEC#(L:MSATR_FGCP_CRS2, number) 5 - 0 max (>L:MSATR_FGCP_CRS2) (L:MSATR_FGCP_CRS2_DELTA) -- (>L:MSATR_FGCP_CRS2_DELTA) -1 (>L:MSATR_CRS2_KNOB)
MSATR_SPD_INC#(L:MSATR_FGCP_TGT, number) 5 + 100 min (>L:MSATR_FGCP_TGT) (L:MSATR_FGCP_TGT_DELTA) ++ (>L:MSATR_FGCP_TGT_DELTA) 1 (>L:MSATR_TGT_KNOB)
MSATR_SPD_DEC#(L:MSATR_FGCP_TGT, number) 5 - 0 max (>L:MSATR_FGCP_TGT) (L:MSATR_FGCP_TGT_DELTA) -- (>L:MSATR_FGCP_TGT_DELTA) -1 (>L:MSATR_TGT_KNOB)
MSATR_HDG_INC#1 (>L:MSATR_HDG, Number)
MSATR_HDG_DEC#-1 (>L:MSATR_HDG, Number)
MSATR_HDG5_INC#2 (>L:MSATR_HDG, Number)
MSATR_HDG5_DEC#-2 (>L:MSATR_HDG, Number)
Will this work with Axis and Ohs on a Behringer X Touch Mini?
12 months ago
Yep, you can just use the new LVars as indicated in the instructions.
11 months ago
FlyingDutch
Tezbedz
works great with TouchPortal.. 😊 Thanks!
12 months ago
DestinedWind530
Works as expected. Tested with Mobiflight.
Thank you
Ciao
1 years ago
Hi, im so confused on how I'm installing this into Mobiflight, been trying for hours, is there anyway i can get help on this?
Thanks
12 months ago
maddog868
EddiZ
Not seeing the knobs actually rotate didn't bother me, but now that you've offered a solution, I'm like why not? I'm going to try this! Thanks.
1 years ago
Scorgasmic