Hi all ,
        In case I wasn't too clear previously   ,what i was proposing for the 
gear lever lock was to add something like this to the controls.nas file ...

var gearDown = func(v) {
        if(getprop("/controls/gear/gear-lever-lock"))return;
    if (v < 0) {
      setprop("/controls/gear/gear-down", 0);
    } elsif (v > 0) {
      setprop("/controls/gear/gear-down", 1);
    }
}  

to enable gear lever locking , one would just add ...
<controls>
        <gear>
                <gear-lever-lock type="bool">1</gear-lever-lock>
        <gear>
</controls>

This would stop accidental gear operation on equipped aircraft (and the old 
ones with hand cranks )...
 
IF this is another bad idea , I will just add a setlistener check on the 
gear-down property...

Gheers

Syd&Sandy <[EMAIL PROTECTED]>

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to