diff options
Diffstat (limited to 'contrib/FlightGear/Protocol')
-rw-r--r-- | contrib/FlightGear/Protocol/headtracker.xml | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/contrib/FlightGear/Protocol/headtracker.xml b/contrib/FlightGear/Protocol/headtracker.xml new file mode 100644 index 00000000..8c14119a --- /dev/null +++ b/contrib/FlightGear/Protocol/headtracker.xml @@ -0,0 +1,54 @@ +<?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/current-view/x-offset-m</node> + </chunk> + + <chunk> + <name>y</name> + <type>double</type> + <node>/sim/current-view/y-offset-m</node> + </chunk> + + <chunk> + <name>z</name> + <type>double</type> + <node>/sim/current-view/z-offset-m</node> + </chunk> + + <chunk> + <name>heading</name> + <type>double</type> + <node>/sim/current-view/heading-offset-deg</node> + </chunk> + + <chunk> + <name>pitch</name> + <type>double</type> + <node>/sim/current-view/pitch-offset-deg</node> + </chunk> + + <chunk> + <name>roll</name> + <type>double</type> + <node>/sim/current-view/roll-offset-deg</node> + </chunk> + + <chunk> + <name>status</name> + <type>int</type> + <node>/sim/current-view/headtracker-debug-status</node> + </chunk> + </input> + </generic> +</PropertyList> |