> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Melchior FRANZ
> Sent: Thursday, January 25, 2007 11:19 AM
> To: flightgear-users@lists.sourceforge.net
> Subject: Re: [Flightgear-users] Redefining Joystick axes
> 
> * Bill Galbraith -- Thursday 25 January 2007:
> > This doesn't work, and the joystick still changes the aileron value.
> > What am I doing wrong,
> 
> Could it be that the joystick file isn't used at all? Check 
> the dialog "Help"->"Joystick Info" for the js name/bindings.
> 
> 


Okay, I'm pretty 'green' when it comes to this stuff, and I just wasn't
setting the property correctly. What I really wanted to do (in case any of
you are keeping score at home) is this:

        <input>

                <joysticks>
                        <js>
                                <axis n="0">
                                        <desc>Lateral Cyclic</desc>
                                        <binding>
        
<command>property-scale</command>
        
<property>/controls/flight/cyclic-lat</property>
                                                <power
type="double">2</power>
                                        </binding>
                                </axis>

                                <axis n="1">
                                        <desc>Longitudinal Cyclic</desc>
                                        <binding>
        
<command>property-scale</command>
        
<property>/controls/flight/cyclic-long</property>
                                                <factor
type="double">-1.0</factor>
                                                <power
type="double">2</power>
                                        </binding>
                                </axis>

                                <axis n="2">
                                        <desc>Collective</desc>
                                        <binding>
        
<command>property-scale</command>
        
<property>/controls/flight/collective</property>
                                                <factor
type="double">-1.0</factor>
                                                <power
type="double">2</power>
                                        </binding>
                                </axis>

                        </js>
                </joysticks>
        </input>

Thanks,
Bill


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to