You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TrackIR.get_Debug -> Returning debug infos , if everything is working it will return raw vars formatted , else a message.
43
54
44
-
function TrackIR_Timer() -- the best way would be to make it 60/120 times per sec. (i mean, not 60-120, it's 60 OR 120 (depending of the trackir device))
45
-
TrackIR_Update()
46
-
Var_TrackIR_Debug = TrackIR_Debug()
47
-
Var_TrackIR_Pitch = TrackIR_Pitch()
48
-
Var_TrackIR_Yaw = TrackIR_Yaw()
49
-
Var_TrackIR_Roll= TrackIR_Roll()
50
-
Var_TrackIR_X = TrackIR_X()
51
-
Var_TrackIR_Y = TrackIR_Y()
52
-
Var_TrackIR_Z = TrackIR_Z()
53
-
end
55
+
*Functions returning informations :*
56
+
TrackIR.get_Ver (Not really tested)
54
57
55
-
hook.Add("Think", "trackir timer", TrackIR_Timer)
58
+
*Functions returning .... nothing :*
59
+
TrackIR.Update (Request an update for all the coordinates, run it every time you wanna update the view, you better make what i did in the example)
56
60
57
61
58
62
@@ -80,10 +84,9 @@ TrackIR Software
80
84
81
85
Windows (I'll see later for OSX and linux support, i need to contact NaturalPoint about that)
0 commit comments