On Thursday 20 April 2006 20:52, Ron Jensen wrote: > Also, you have the wrong property name in your pitch control, it should > be "/controls/engines/engine[0]/propeller-pitch" not > "/controls/engines/engine[0]/pitch"
Thanks for the replies. I have it working in most cases now. Mixture does not work in the Spitfire or Seafire. Only the keyboard works and that only allows for two mixture settings. So this appears to be an issue with how these aircraft are modeled. As a side note I used fgjs to create a dummy joystick config file that had a section for controlling prop pitch so that I would have the "correct" property names and it named it "/controls/engines/engine[0]/pitch". > > On Thu, 2006-04-20 at 19:33 -0700, Hal V. Engel wrote: > > I am trying to setup my joystick so that I can control engine mixture and > > prop pitch using the hat on my CH combatstick. > > > > I am also trying to use the other axis of the hat to control prop pitch > > and can not get it to work at all. I have tried this with the C310 > > since I can control mixture and prop pitch with the keyboard. > > > > Here is how I have the controls setup for prop pitch: > > > > <axis n="3"> > > <desc>Pitch</desc> > > <low> > > <repeatable>true</repeatable> > > <binding> > > <command>property-adjust</command> > > <property>/controls/engines/engine[0]/pitch</property> > > <step type="double">0.01</step> > > </binding> > > </low> > > <high> > > <repeatable>true</repeatable> > > <binding> > > <command>property-adjust</command> > > <property>/controls/engines/engine[0]/pitch</property> > > <step type="double">-0.01</step> > > </binding> > > </high> > > > > <low> > > <repeatable>true</repeatable> > > <binding> > > <command>property-adjust</command> > > <property>/controls/engines/engine[1]/pitch</property> > > <step type="double">0.01</step> > > </binding> > > </low> > > <high> > > <repeatable>true</repeatable> > > <binding> > > <command>property-adjust</command> > > <property>/controls/engines/engine[1]/pitch</property> > > <step type="double">-0.01</step> > > </binding> > > </high> > > > > </axis> > > > > Another interesting test was to try different aircraft. The above setup > > does not work at all for the P-51, Beaver, C172, Sia Marchetti S211, > > Spitfire, Seafire, Sopwith Camel and Folker Dr 1. All responded to m/M > > on the keyboard but not the joystick control. It worked the same on the > > C310, DC3 (engine[0] is on right engine other twins are on left) and > > PA-28 in that mixture worked on one engine but prop pitch did not work at > > all. > > > > It is probably something simple that I need to do to get this to work. > > Anyone have any idea what I am doing wrong? > > The second high/low statements are probably overwriting the first, > therefore you can't control control engine[0] only engine[1]. Since the > single engine planes ignore engine[1] settings you can't control them at > all. > > Ron > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Flightgear-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/flightgear-users ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-users
