Writing Joystick Code: Part 1: Difference between revisions

Jump to navigation Jump to search
m
Fix internal wiki link
m (Aileron, elevator and rudder: 'power' is applied prior to offset and factor)
m (Fix internal wiki link)
 
Line 85: Line 85:
<power ...... : Sometimes the axes are too sensitive - a slight touch on aileron makes the plane barrel-roll. You can reduce this sensitivity by making the value of power more than 1. (It is a decimal number, so you can make small adjustments, but small adjustments are usually not enough to be noticible.) Never mind the maths, but the larger the value of power the less sensitive the aircraft will be to axis movement.
<power ...... : Sometimes the axes are too sensitive - a slight touch on aileron makes the plane barrel-roll. You can reduce this sensitivity by making the value of power more than 1. (It is a decimal number, so you can make small adjustments, but small adjustments are usually not enough to be noticible.) Never mind the maths, but the larger the value of power the less sensitive the aircraft will be to axis movement.


Remember: (property^power + offset) * factor = result. See [http://wiki.flightgear.org/Bindings#property-scale Bindings, property-scale].
Remember: (property^power + offset) * factor = result. See [[Bindings#property-scale|Bindings, property-scale]].


{{Note|In some joystick binding files, you'll find:
{{Note|In some joystick binding files, you'll find:

Navigation menu