-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmouse_tracking.xml
88 lines (88 loc) · 7.34 KB
/
mouse_tracking.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="UTF-8"?>
<Experiment name="mouse_tracking" version="1.0b7" mode="designer" designer-used="D:/DEV/EPFL/lnco-exvr/exvr/cpp-projects/_build/bin/exvr-designer/ExVR.exe">
<Settings debug="1" csharp_debug_info="0" catch_components_exceptions="0" positional_tracking="1" catch_external_keyboard_events="0">
<Display mode="0" stereo_fov="60" fullscreen="0" monitor_id="1" resolution_id="2" custom_width="1920" custom_height="1080"/>
<Camera neutral_x="0" neutral_y="1" neutral_z="0"/>
</Settings>
<Resources reload="200"/>
<Components>
<Component key="0" name="Mouse" category="InputDevice" type="Mouse" global="1" always_updating="1" exceptions="0" frame_logging="1" trigger_logging="1" restricted="0" priority="2">
<InitConfig key="0" name="standard"/>
<Configs>
<Config key="1" name="standard"/>
</Configs>
</Component>
</Components>
<FlowElements>
<Routines>
<Routine key="1" name="Routine 1" randomizer="0" informations="">
<Condition key="0" name="default" duration="100" ui_scale="10" ui_size="1" sets_keys="0">
<Action key="0" key_component="0" key_config="1" node_used="1" node_position="327 158">
<!--Component Mouse with config standard -->
<Timeline type="Update">
<!--Starts at 0(s) and ends at 100s(), duration: 100(s) -->
<Interval t1="0" t2="100"/>
</Timeline>
<Timeline type="Visibiliy">
<!--Starts at 0(s) and ends at 100s(), duration: 100(s) -->
<Interval t1="0" t2="100"/>
</Timeline>
</Action>
<Connector key="0" name="Vector2ToReals" node_position="619 351">
<Arg name="value" ui="Label" value="" type="System.String" dim="0"/>
</Connector>
<Connector key="1" name="CheckMouseAxis" node_position="613 206">
<Arg name="value" ui="Combo box text" value="Vertical" type="System.String" dim="0"/>
</Connector>
<Connector key="2" name="Real" node_position="1011 174">
<Arg name="value" ui="Double spin box" value="1" type="System.Double" dim="0"/>
</Connector>
<Connector key="3" name="CheckMouseAxis" node_position="590 67">
<Arg name="value" ui="Combo box text" value="Horizontal" type="System.String" dim="0"/>
</Connector>
<Connector key="4" name="Real" node_position="1007 64">
<Arg name="value" ui="Double spin box" value="1" type="System.Double" dim="0"/>
</Connector>
<Connector key="5" name="CurveX" node_position="1299 66">
<Arg name="value" ui="Curve" value="Default curve%%-10%%10%%true%%100%%0 0 0 1" type="System.String" dim="1" sep="%%" sizes="6"/>
</Connector>
<Connector key="6" name="CurveX" node_position="1308 189">
<Arg name="value" ui="Curve" value="Default curve%%-10%%10%%true%%100%%0 0 0 1" type="System.String" dim="1" sep="%%" sizes="6"/>
</Connector>
<Connector key="7" name="CurveX" node_position="921 360">
<Arg name="value" ui="Curve" value="Default curve%%0%%2000%%true%%1000%%0 0 0 1" type="System.String" dim="1" sep="%%" sizes="6"/>
</Connector>
<Connector key="8" name="CurveX" node_position="920 508">
<Arg name="value" ui="Curve" value="Default curve%%-10%%10%%true%%100%%0 0 0 1" type="System.String" dim="1" sep="%%" sizes="6"/>
</Connector>
<Connector key="12" name="PostIt" node_position="930 -8">
<Arg name="value" ui="Notepad" value="1%%%For getting the axes values, you need the window focus." type="System.String" dim="1" sep="%%%" sizes="2"/>
</Connector>
<!--Connection between Key0:Component:Mouse:Port2 and Key0:Connector:Vector2ToReals:Port0 -->
<Connection key="0" out_type="component" out_key="0" signal_id="2" out_data_type="vector2" signal="position" in_type="connector" in_key="0" slot_id="0" in_data_type="vector2" slot="input value 0"/>
<!--Connection between Key0:Component:Mouse:Port1 and Key1:Connector:CheckMouseAxis:Port0 -->
<Connection key="1" out_type="component" out_key="0" signal_id="1" out_data_type="mouse_axis" signal="axis" in_type="connector" in_key="1" slot_id="0" in_data_type="mouse_axis" slot="input value 0"/>
<!--Connection between Key1:Connector:CheckMouseAxis:Port0 and Key2:Connector:Real:Port0 -->
<Connection key="2" out_type="connector" out_key="1" signal_id="0" out_data_type="float" signal="output value 0" in_type="connector" in_key="2" slot_id="0" in_data_type="real" slot="input value 0"/>
<!--Connection between Key0:Component:Mouse:Port1 and Key3:Connector:CheckMouseAxis:Port0 -->
<Connection key="3" out_type="component" out_key="0" signal_id="1" out_data_type="mouse_axis" signal="axis" in_type="connector" in_key="3" slot_id="0" in_data_type="mouse_axis" slot="input value 0"/>
<!--Connection between Key3:Connector:CheckMouseAxis:Port0 and Key4:Connector:Real:Port0 -->
<Connection key="4" out_type="connector" out_key="3" signal_id="0" out_data_type="float" signal="output value 0" in_type="connector" in_key="4" slot_id="0" in_data_type="real" slot="input value 0"/>
<!--Connection between Key2:Connector:Real:Port0 and Key6:Connector:CurveX:Port0 -->
<Connection key="5" out_type="connector" out_key="2" signal_id="0" out_data_type="real" signal="output value 0" in_type="connector" in_key="6" slot_id="0" in_data_type="real_list" slot="input value 0"/>
<!--Connection between Key4:Connector:Real:Port0 and Key5:Connector:CurveX:Port0 -->
<Connection key="6" out_type="connector" out_key="4" signal_id="0" out_data_type="real" signal="output value 0" in_type="connector" in_key="5" slot_id="0" in_data_type="real_list" slot="input value 0"/>
<!--Connection between Key0:Connector:Vector2ToReals:Port1 and Key8:Connector:CurveX:Port0 -->
<Connection key="7" out_type="connector" out_key="0" signal_id="1" out_data_type="real" signal="output value 1" in_type="connector" in_key="8" slot_id="0" in_data_type="real_list" slot="input value 0"/>
<!--Connection between Key0:Connector:Vector2ToReals:Port0 and Key7:Connector:CurveX:Port0 -->
<Connection key="8" out_type="connector" out_key="0" signal_id="0" out_data_type="real" signal="output value 0" in_type="connector" in_key="7" slot_id="0" in_data_type="real_list" slot="input value 0"/>
</Condition>
</Routine>
</Routines>
<ISIs/>
<Loops/>
</FlowElements>
<FlowSequence>
<Element key="1" type="Routine"/>
</FlowSequence>
</Experiment>