Anders Gidenstam wrote:

On Wed, 11 Nov 2009, David Harel wrote:

Hi there,


My current settings are:

<axis n="3">
<desc>Throttle</desc>
<direction>forward</direction>
<binding>
 <command>nasal</command>
 <offset type="double">2.0</offset>

 <factor type="double">1.5</factor>

 <script>controls.throttleAxis()</script>

</binding>
</axis>

Hi,

<offset> and <factor> are not applicable when using a Nasal command. You'll have to change to a traditional property-scale command to use <offset> and <factor>. E.g.

   <binding>
    <command>property-scale</command>
    <property>/controls/flight/aileron</property>
    <dead-band type="double">0.01</dead-band>
    <offset type="double">0.0</offset>
   </binding>


What are you trying to achieve?

If you are only trying to calibrate your joystick it is probably better to do that at the OS level using jscal. (Avoid the GUI joystick-calibrator program, at least on my system (Debian/testing) it completely messes up the joystick calibration.)

Cheers,

Anders
Thank you for your prompt reply,
I tried to use fgjs and it seemed I jammed the joystick functionality this way. Will try jscal briefly.
Can you also refer me to a full list of the tags for joystick settings?

--
Regards.

David Harel,

==================================

Home office +972 77 7657645
Cellular:   +972 54 4534502
Snail Mail: Amuka
           D.N Merom Hagalil
           13802
           Israel
Email:      harel...@ergolight-sw.com


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to