On April 6, 2005 05:18 am, Melchior FRANZ wrote:
> Here is an improved version. It initializes "gear" with settimer,
> because otherwise using "/controls/gear" could lead to collisions with
> other parts that messed with it at startup. You can instead use a
> different property path. And then, we keep SDL's auto-key-repeats from
> triggering the same function again and again. This isn't a big problem
> and works, too. It's just a waste of CPU cycles and then, you may want
> to use the gear functions for other effects, where it could be a problem.
Something along these lines may be able to free up those CPU cycles:

<binding>
 <command>nasal</command>
 <script>
  # Command flaps' movement.
 </script>
</binding>

Ampere

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to