diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-29 20:54:29 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-29 20:54:29 +0200 |
commit | 63b239409380e7e736f01ca6b43ecf9dfaabad94 (patch) | |
tree | 6ecb3b6b0fcb3d860fb91cf0fc425496ffd6e67d /facetracknoir/ClientFiles_ | |
parent | cfd2ac0e5c7cf1e1efa5eda145965db4cf656dcc (diff) |
rename part two
Diffstat (limited to 'facetracknoir/ClientFiles_')
-rw-r--r-- | facetracknoir/ClientFiles_/FlightGear/Nasal/headtracker.xml | 83 | ||||
-rw-r--r-- | facetracknoir/ClientFiles_/FlightGear/Protocol/headtracker.xml | 67 | ||||
-rw-r--r-- | facetracknoir/ClientFiles_/Tir4Fun/readme.txt | 9 | ||||
-rw-r--r-- | facetracknoir/ClientFiles_/Tir4Fun/tir4fun.exe | bin | 36864 -> 0 bytes |
4 files changed, 0 insertions, 159 deletions
diff --git a/facetracknoir/ClientFiles_/FlightGear/Nasal/headtracker.xml b/facetracknoir/ClientFiles_/FlightGear/Nasal/headtracker.xml deleted file mode 100644 index d8bd1d0a..00000000 --- a/facetracknoir/ClientFiles_/FlightGear/Nasal/headtracker.xml +++ /dev/null @@ -1,83 +0,0 @@ -<?xml version="1.0"?> - -<PropertyList> - <nasal> - <headtracker> - <script> - var Value = { - new: func(prop) { - var m = { parents: [Value] }; - m.prop = props.globals.getNode(prop, 1); - m.value = 0; - return m; - }, - apply: func(value) { - me.prop.setDoubleValue(me.prop.getValue() - me.value + value); - me.value = value; - }, - }; - - - var x = Value.new("/sim/current-view/x-offset-m"); - var y = Value.new("/sim/current-view/y-offset-m"); - var z = Value.new("/sim/current-view/z-offset-m"); - var h = Value.new("/sim/current-view/heading-offset-deg"); - var p = Value.new("/sim/current-view/pitch-offset-deg"); - var r = Value.new("/sim/current-view/roll-offset-deg"); - - - var resetting = 0; - var status = nil; - - var reset = func { - if (status != 1) { - setprop("/sim/headtracker/control", 1); - resetting = 1; - view.resetViewPos(); - view.resetViewDir(); - x.value = y.value = z.value = h.value = p.value = r.value = 0; - } - } - - setlistener("/sim/headtracker/status", func(n) { - var s = n.getValue(); - if (!status and s) { - setprop("/sim/headtracker/control", 0); - resetting = 0; - } - status = s; - }, 1, 0); - - - var loop = func { - if (!view.index and !resetting) { - x.apply(getprop("/sim/headtracker/x-m")); - y.apply(getprop("/sim/headtracker/y-m")); - z.apply(getprop("/sim/headtracker/z-m")); - - h.apply(getprop("/sim/headtracker/heading-deg")); - p.apply(getprop("/sim/headtracker/pitch-deg")); - r.apply(-1 * getprop("/sim/headtracker/roll-deg")); - } - settimer(loop, 0); - } - - loop(); - - </script> - </headtracker> - </nasal> - - <sim> - <headtracker> - <x-m type="double">0</x-m> - <y-m type="double">0</y-m> - <z-m type="double">0</z-m> - <heading-deg type="double">0</heading-deg> - <pitch-deg type="double">0</pitch-deg> - <roll-deg type="double">0</roll-deg> - <status type="int">0</status> - <control type="int">0</control> - </headtracker> - </sim> -</PropertyList> diff --git a/facetracknoir/ClientFiles_/FlightGear/Protocol/headtracker.xml b/facetracknoir/ClientFiles_/FlightGear/Protocol/headtracker.xml deleted file mode 100644 index cd1d0dad..00000000 --- a/facetracknoir/ClientFiles_/FlightGear/Protocol/headtracker.xml +++ /dev/null @@ -1,67 +0,0 @@ -<?xml version="1.0"?> - -<PropertyList> - <generic> - <input> - <binary_mode>true</binary_mode> - <binary_footer>none</binary_footer> - <byte_order>host</byte_order> - <record_length>52</record_length> - - <chunk> - <name>x</name> - <type>double</type> - <node>/sim/headtracker/x-m</node> - </chunk> - - <chunk> - <name>y</name> - <type>double</type> - <node>/sim/headtracker/y-m</node> - </chunk> - - <chunk> - <name>z</name> - <type>double</type> - <node>/sim/headtracker/z-m</node> - </chunk> - - <chunk> - <name>heading</name> - <type>double</type> - <node>/sim/headtracker/heading-deg</node> - </chunk> - - <chunk> - <name>pitch</name> - <type>double</type> - <node>/sim/headtracker/pitch-deg</node> - </chunk> - - <chunk> - <name>roll</name> - <type>double</type> - <node>/sim/headtracker/roll-deg</node> - </chunk> - - <chunk> - <name>status</name> - <type>int</type> - <node>/sim/headtracker/status</node> - </chunk> - </input> - - <output> - <binary_mode>true</binary_mode> - <binary_footer>none</binary_footer> - <byte_order>host</byte_order> - <record_length>4</record_length> - - <chunk> - <name>control</name> - <type>int</type> - <node>/sim/headtracker/control</node> - </chunk> - </output> - </generic> -</PropertyList> diff --git a/facetracknoir/ClientFiles_/Tir4Fun/readme.txt b/facetracknoir/ClientFiles_/Tir4Fun/readme.txt deleted file mode 100644 index d64af301..00000000 --- a/facetracknoir/ClientFiles_/Tir4Fun/readme.txt +++ /dev/null @@ -1,9 +0,0 @@ -What is TIR4FUN? - -TIR4FUN is a free utility for dedicated gamers. It enables 6DOF POV control with mouse and joystick axes. - -Software is provided as it is. Configuration is straightforward. GUI says it all! - -Installation: - -Copy all files to a directory. Launch tir4fun.exe to bring up the GUI. diff --git a/facetracknoir/ClientFiles_/Tir4Fun/tir4fun.exe b/facetracknoir/ClientFiles_/Tir4Fun/tir4fun.exe Binary files differdeleted file mode 100644 index a51eced0..00000000 --- a/facetracknoir/ClientFiles_/Tir4Fun/tir4fun.exe +++ /dev/null |