buti wrote:ok, i'll try to give you step-by-step instructions:
- get a decent editor to edit your xml-files. e.g. smultron at http://smultron.sourceforge.net
- assuming you have put FlightGear in Applications:
- go to Applications
- ctrl-click on Flightgear
- "Show package contents"
- Navigate to Contents/Resources/data/Input/Joysticks/CH/
- ctrl-click on pro-yoke-usb.xml and open it with smultron (or drag it to smultron if you have put it in the dock)
- follow directions elsewhere on how to change the file
- save the file and launch FlightGear
NOTE: all applications in os x are in fact folders with the extension .app. they usually contain all sorts of application-related data and can be opened and used like any other folder (by using "show package contents")hope that helps,
- till
I'm almost there, your explanation was very helpful. Below is a code that I copied from the file that I want to change. I want this button to be Altitude Hold or maybe Heading Hold. I can't right code, is there a code reference page that I can copy off of. Or at lease maybe you can do this example for me.
Thanks!
David
<button n="8">
<desc>Increase Engine Boost</desc>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/controls/engines/engine[0]/boost</property>
<step type="double">+0.01</step>
</binding>
<binding>
<command>property-adjust</command>
<property>/controls/engines/engine[1]/boost</property>
<step type="double">+0.01</step>
</binding>
</button>