Board index FlightGear Support Flying

Keyboard "sensitivity"  Topic is solved

Controlling your aircraft, using the autopilot etc.

Keyboard "sensitivity"

Postby djaquay » Fri Dec 02, 2011 4:34 pm

Is there a way to change the keyboard sensitivity? In particular, the up/down yoke keys (8/2 on the keypad) change the pitch (of at least the few planes I've flown so far, C172 and Seneca II) way too much, and the trim keys way too little.

And the aileron keys (4/6 on the keypad) seem to frequently get into this condition where the plane is slowly banking right, so you hit the left key once, and now it's slowly banking left (so you hit right once, and are back where you started). The flight model may well be stable (i.e. if the controls were really "centered", it'd return to level flight), but the keyboard isn't sensitive enough to let you really center the controls. (Hope that all made sense...)

As I'm new to FG (running 2.4.0 on Ubuntu Linux), is there just something I'm missing?

Thanks,
Dave
djaquay
 
Posts: 5
Joined: Wed Oct 24, 2007 12:02 am

Re: Keyboard "sensitivity"  

Postby polly » Fri Dec 02, 2011 5:26 pm

Those numbers can all be modified in $FG_ROOT/keyboard.xml, so overlay or link to your own copied keyboard.xml.
If you want to add roll trim, the paren keys are unused so you could add::

Code: Select all
 <key n="40">
  <name>(</name>
  <repeatable type="bool">true</repeatable>
  <mod-shift>
  <desc>Roll trim-- Left</desc>
  <binding>
    <command>property-adjust</command>
    <property>/controls/flight/aileron-trim</property>
    <step type="double">-0.002</step>
  </binding>
  </mod-shift>
 </key>

 <key n="41">
  <name>)</name>
  <repeatable type="bool">true</repeatable>
  <mod-shift>
  <desc>Roll trim++ Right</desc>
  <binding>
    <command>property-adjust</command>
    <property>/controls/flight/aileron-trim</property>
    <step type="double">0.002</step>
  </binding>
  </mod-shift>
 </key>


then you have aileron trim at keys: ( )
as well as the usual elevator trim at 7 1 Home End

The usual numeric-5 will center elevator / aileron / rudder but not the
pitch / roll trims .

I've changed the pitch sensitivity , too. As you say, with the right trim & sensitivity numbers it can make for a very restful control mode. Time warp: a - A keys help a lot to finding a fine trim adjustment.
User avatar
polly
 
Posts: 455
Joined: Thu Nov 04, 2010 2:45 pm

Re: Keyboard "sensitivity"

Postby sim » Fri Dec 02, 2011 7:27 pm

Time warp: a - A keys help a lot to finding a fine trim adjustment.

Nice one Polly! That's a useful tip.
User avatar
sim
 
Posts: 1439
Joined: Tue Jun 30, 2009 2:13 pm
Location: Shropshire England
Callsign: Fly4Fun
Version: 0.9.10 up
OS: 64 Win 10 HD6450

Re: Keyboard "sensitivity"

Postby djaquay » Sat Dec 03, 2011 5:57 pm

Worked very nicely, polly, thanks!
djaquay
 
Posts: 5
Joined: Wed Oct 24, 2007 12:02 am


Return to Flying

Who is online

Users browsing this forum: No registered users and 1 guest