CAPTAIN SIM FORUM
757 Captain >> 757 version 4.x (FSX ONLY) >> I need an SDK for the 757
https://www.captainsim.org/forum/csf.pl?num=1246759974

Message started by andreotti60 on Jul 5th, 2009 at 2:12am

Title: I need an SDK for the 757
Post by andreotti60 on Jul 5th, 2009 at 2:12am
Captain Sim, I purchased from you many planes.  I think your work is beautiful.  However, you are seriously limiting the possibilities of your our work by not offering an SDK for your planes.  I have now spent many thousands of dollars (and Euros) in hardware for my hobby.  I'd love to fly your planes and assign keyboard presses to specific functions. Please make an SDK available for the 757 and for the upcoming 767. Absent that, I will never buy another plane from you.  They simply don't work with the hardware I have.  I have no such problems with planes from other FS developers.  Strange that you don't see the value in making the SDK available to your customers, or at least a COMPLETE list of key assignments.   It's your choice of course, but a strange decision from where I stand.

Title: Re: I need an SDK for the 757
Post by Captain Sim 2 on Jul 6th, 2009 at 1:13pm
Thank you for input.
Please specify the list of items you would like to see in the SDK.

Title: Re: I need an SDK for the 757
Post by andreotti60 on Jul 8th, 2009 at 4:19pm
I would welcome the ability to map every single function of the simulator to keyboard presses (key mapping in other words).  The SDK would also need to contain information sufficient to assist any third party hardware manufacturer - CPFlight, Engravity, Flight Deck Solutions for example - to conceive and develop hardware for your planes, such as an MCP, FMC, throttle quadrant, etc. (or make existing hardware fully functional with your planes).

I, for one, enjoy building my own hardware.  I would welcome the ability to assign push buttons, switches and rotary encoders to various functions of your planes, thus enabling me to slowly build an entire cockpit, using your excellent planes (the 757, future 767, and why not, even the 727).

I encourage others to chime in and provide Captain Sim with your suggestions as well.

Thanks.

Gianluca

Title: Re: I need an SDK for the 757
Post by Bigsky on Jul 13th, 2009 at 10:29pm
The above reason is why I will not buy the 767,And I regret buying the 757.

Title: Re: I need an SDK for the 757
Post by Tim Capps on Jul 14th, 2009 at 12:37am
Just wondering why you're not contributing to the list, then.  This might indicate a willingness to add it.

Title: Re: I need an SDK for the 757
Post by Cthulhus on Jul 14th, 2009 at 8:24am
Me too, I have a full go flight module and I'de like to see my MCP Autopilote module work on the 757/767 ...

Title: Re: I need an SDK for the 757
Post by Sjef Gielen on Aug 18th, 2009 at 8:08am
I would be a very happy pilot if I could just program the buttons on my CH yoke and throttle quadrant with more than just landing lights and gear, but with handy functions such as engine start rotary switch functions.
So an SDK would be very handy.

Title: Re: I need an SDK for the 757
Post by Libretto on Aug 18th, 2009 at 8:41am
With FSUIPC you can assign buttons/ rotary encoders / switches to key commands.
Those key commands you can assign to your hardware.

I f you use the coordinates feature FSUIPC will remember where the button / rotary encoder / switch /  is located in the cockpit.

Then you can even use the VC and operate the hardware even when not in sight.
With the 2d panels the panel to be operated has to be in sight.   

If have done so for the VC form the MD-11 and plan to do it for the 757 too.
This in combination with my VRI hardware.

Title: Re: I need an SDK for the 757
Post by Cthulhus on Aug 18th, 2009 at 2:21pm
and you have a GF MCP ADV ? If you, I'll be very interested about your file. I have a registred version of FSUIPC.

Thanks in advance

Title: Re: I need an SDK for the 757
Post by Bigsky on Aug 27th, 2009 at 5:30am
I attempted to create a FSUIPC macro,But it doesnt seem to work with knobs like the heading,speed or altitude.Only switches and buttons. I cannot get the knob to rotate using the tab key test function. But with my CP Flight 737 MCP ( serial port version),The baro knob,and the flight director switch work,So maybe there is hope?

Title: Re: I need an SDK for the 757
Post by Cthulhus on Aug 27th, 2009 at 7:12am
I found this on the GF's website :

"It will work with FSUIPC and you may need GFDisplay form Peter Dowson's site."

That maybe help you !

Title: Re: I need an SDK for the 757
Post by AceHawk on Jan 20th, 2010 at 3:26pm
Hello, I registered FSUIPC yesterday in hopes to program the mouse macro for the A/T engage on the MCP. After going through the step by step process I realized that it was a no go. After some reading I found that Mr. Dowson states that the mouse macro works on some .gau's but not all instruments. Sadly, it doesn't on the MCP instrument. So seeing that it is an XML gauge, and that I have done XML gauges in the past, I decided to investigate a workaround.

The good news is that after tinkering with it till 1AM last night I managed to get it to work! Now I can use my Joystick to arm/disarm the A/T (as I wanted to do) instead of using the mouse. The solution involved the creation of a new XML gauge. I am however still working on it to ensure that it operates as I want it to.

My main design criteria is to make it WITHOUT modifying the original panel gauge from CS. This so that other users can benefit from the workaround without having to mod their 757 install. So far I am 80% complete on that.

If there is interest in this, maybe we can get other functions worked out as well. Let me know.

I will keep you posted on the progress, I expect it to be ready before the end of the week. : )

Linus "AceHawk"

Title: Re: I need an SDK for the 757
Post by Robert Cezar on Jan 20th, 2010 at 5:06pm
AceHawk,

My name is Robert Cezar - developer of It's Your Plane (http://www.itsyourplane.com). I would be HYPER INTERESTED in working with you on interfacing the Captain Sim aircraft and, in particular, in finding an elegant solution to the XML issue.  Please feel free to contact me directly if you'd prefer at robert@itsyourplane.com.

It would also be great if the gang at Captain Sim would offer some guidance in this endeavor as well, for there's a high degree of interest in the sim community in getting these aircraft properly interfaced.

Thanks in advance,

Robert

Title: Re: I need an SDK for the 757
Post by SEAN ZARELLA on Oct 17th, 2015 at 3:02pm
I know this post yes very old, But I have found a way to map any button or switch or knob  say for the overhead panel to a keyboard or joystick. 

Title: Re: I need an SDK for the 757
Post by Markoz on Oct 20th, 2015 at 10:11am

SEAN ZARELLA wrote on Oct 17th, 2015 at 3:02pm:
I know this post yes very old, But I have found a way to map any button or switch or knob  say for the overhead panel to a keyboard or joystick. 

Glad to hear you were able to do that SEAN ZARELLA. :)

Title: Re: I need an SDK for the 757
Post by SEAN ZARELLA on Nov 5th, 2015 at 6:42pm
Lol.    It would be nice for me to show how I figured it out :)

ok here goes !




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!

Each button on a keyboard is represented by a number, also Shift and control with a number add 256 to the origional character #   if you add CNTR+ SHIFT then a character then you add 512 + the character value.

This is the string for autopilot disconnect.





<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


This Means if you go into each XML in each cab, you can add the

<Keys>
<On Key=" "> do stuff </On>
</Keys>

after the mouse section. and copy the mouse commands,. insert it into where " " is and you can find out what each key sequences into a number that XML reads you can go to this site
http://javascript.info/tutorial/keyboard-events

and it will tell you what each keystroke means by number to insert in the " " remarks. and assign that keyboard into joystick assignment !


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.