diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2011-02-08 21:17:36 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2011-02-08 21:17:36 +0000 |
commit | 43420d828647b026a315c58db621202fc5a17403 (patch) | |
tree | 439a38fe942c8e90e41a9c7b282f09a9b5828382 /FaceTrackNoIR/ClientFiles/FlightGear/Nasal/headtracker.xml | |
parent | d3ff506356286dd7cbff67b8736482539a317006 (diff) |
Updating FlightGear protocol
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@49 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/ClientFiles/FlightGear/Nasal/headtracker.xml')
-rw-r--r-- | FaceTrackNoIR/ClientFiles/FlightGear/Nasal/headtracker.xml | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/FaceTrackNoIR/ClientFiles/FlightGear/Nasal/headtracker.xml b/FaceTrackNoIR/ClientFiles/FlightGear/Nasal/headtracker.xml index 0d6e8005..d8bd1d0a 100644 --- a/FaceTrackNoIR/ClientFiles/FlightGear/Nasal/headtracker.xml +++ b/FaceTrackNoIR/ClientFiles/FlightGear/Nasal/headtracker.xml @@ -1,19 +1,6 @@ <?xml version="1.0"?> <PropertyList> - <input> - <keyboard> - <key n="61"> - <name>= (equal sign)</name> - <desc>Reset Head Tracker</desc> - <binding> - <command>nasal</command> - <script>headtracker.reset()</script> - </binding> - </key> - </keyboard> - </input> - <nasal> <headtracker> <script> @@ -21,12 +8,10 @@ new: func(prop) { var m = { parents: [Value] }; m.prop = props.globals.getNode(prop, 1); - m.lowpass = aircraft.lowpass.new(0.7); m.value = 0; return m; }, apply: func(value) { - value = me.lowpass.filter(value); me.prop.setDoubleValue(me.prop.getValue() - me.value + value); me.value = value; }, @@ -79,7 +64,6 @@ loop(); - gui.popupTip("press '=' (equal sign) to reset head tracker", 20); </script> </headtracker> </nasal> |