Shad Young schrieb:
> Hi Dan,
>
> Thanks for your reply. I am using a slightly older Wingman Force 3D. It 
> seems the hat just kicks it to 90 and 180, with no smooth panning. 
> Perhaps I need to tweak the joystick properties in the sim to make this 
> work?
>
> Cheers
> Shad
>
>   
Hi Shad,

you might have a look at other joystick *.xml files
(.../data/input/joystick..).
This is a small sample part of the Saitek X45 joystick XML file (call
Nasal functions):


 <!-- View Direction Hat -->

 <axis n="6">
  <number>
   <unix>6</unix>
   <mac>6</mac>
   <windows>6</windows>
  </number>
  <desc>View Direction</desc>
  <low>
   <repeatable>true</repeatable>
   <binding>
    <command>nasal</command>
    <script>view.panViewDir(1)</script>
   </binding>
  </low>
  <high>
   <repeatable>true</repeatable>
   <binding>
    <command>nasal</command>
    <script>view.panViewDir(-1)</script>
   </binding>
  </high>
 </axis>

 <axis>
  <desc>View Elevation</desc>
  <number>
   <unix>7</unix>
   <mac>7</mac>
   <windows>7</windows>
  </number>
  <low>
   <repeatable>true</repeatable>
   <binding>
    <command>nasal</command>
    <script>view.panViewPitch(-1)</script>
   </binding>
  </low>
  <high>
   <repeatable>true</repeatable>
   <binding>
    <command>nasal</command>
    <script>view.panViewPitch(1)</script>
   </binding>
  </high>
 </axis>

Regards
Georg EDDW

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to