CAPTAIN SIM FORUM
757 Captain >> 757 version 1.x-2.x (FS9 ONLY) >> EUREKA! able to set joystick buttons for CS757 !
https://www.captainsim.org/forum/csf.pl?num=1423676457

Message started by SEAN ZARELLA on Feb 11th, 2015 at 5:40pm

Title: EUREKA! able to set joystick buttons for CS757 !
Post by SEAN ZARELLA on Feb 11th, 2015 at 5:40pm
Hey everyone I finaly found a way to assign any CS757 switch button, ect using keys or joystick.

We all know its closed based and doesnt support OFFSET, MOUSE MACRO, ect so i found a way !

I finaly got the CS757 autopilot disengage bar to work with a joystick Button! !!! !! ! ! ! ! ! With FS9 dont knwo about fsx..

Heres what you do

Navigate to your FS9 folder then /Gauges

Inside find and backup cs.b757.ap.CAB

Open it and extract its contents to a new folder, Rename the origional Cab file something else but keep the .CAB

name your new folder cs.b757.ap.CAB with the extension .CAB

Inside youll find CG_AP_DisBar.xml

Open it with your favorite XML editor, there are free ones on CNET, and copy the contents below!


I am using the letter J for autopilot disengage bar command. which is 74

you can access any key command what what code it represents using this site http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00000520.html





<Gauge Name="AutopilotSwitch_CG005sw2" Version="1.0">
<Update Frequency="10"/>
<Element>
<Position X="0" Y="0"/>
<Select>
<Value>(E:TIME OF DAY, enum) 1 != (A:LIGHT PANEL, bool) && if{ 2 } els{ 0 } (L:AP_Dis,bool) +




</Value>
<Case Value="0">
<Image Name="AP_DisengageBar.bmp" Bright="No">
<Axis X="0" Y="0"/>
</Image>
</Case>
<Case Value="1">
<Image Name="AP_DisengageBar.bmp" Bright="No">
<Axis X="0" Y="-3"/>
</Image>
</Case>
<Case Value="2">
<Image Name="AP_DisengageBar_n.bmp" Bright="Yes">
<Axis X="0" Y="0"/>
</Image>
</Case>
<Case Value="3">
<Image Name="AP_DisengageBar_n.bmp" Bright="Yes">
<Axis X="0" Y="-3"/>
</Image>
</Case>
</Select>
</Element>
<Mouse>
<Area>
<Tooltip>Disengage Bar</Tooltip>
<Cursor Type="Hand"/>
<Click>1 (>L:AP_Dis_On,bool)




103 (>L:iSndPl, position)




</Click>
</Area>
</Mouse>
<Keys>
<On Key="74">1 (>L:AP_Dis_On,bool)




103 (>L:iSndPl, position)</On>





</Keys>
</Gauge>



XXXXXXXXXXXXXXXXXXXXXXX

Now when you press J or via FSUIPC assign a Joystick button on a yoke or wht ever you need Go to Buttons and switches, select " FOR KEY PRESS " and press your appropriate Button and then select J for the Button.
Now when you press J it will toggle your autopilot disengage bar up and down with each key press !!!!!!!!!
ENJOY!

CAPTAIN SIM FORUM » Powered by YaBB 2.6.0!
YaBB Forum Software © 2000-2024. All Rights Reserved.