aboutsummaryrefslogtreecommitdiff
path: root/bindings/cs/LibSurviveBinding/SurviveContext.cs
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/cs/LibSurviveBinding/SurviveContext.cs')
-rw-r--r--bindings/cs/LibSurviveBinding/SurviveContext.cs44
1 files changed, 44 insertions, 0 deletions
diff --git a/bindings/cs/LibSurviveBinding/SurviveContext.cs b/bindings/cs/LibSurviveBinding/SurviveContext.cs
new file mode 100644
index 0000000..2ba9b7c
--- /dev/null
+++ b/bindings/cs/LibSurviveBinding/SurviveContext.cs
@@ -0,0 +1,44 @@
+namespace LibSurviveBinding
+{
+ /*
+ public struct SurviveContext
+ {
+ text_feedback_func faultfunction;
+ text_feedback_func notefunction;
+ light_process_func lightproc;
+ imu_process_func imuproc;
+ angle_process_func angleproc;
+ button_process_func buttonproc;
+ raw_pose_func rawposeproc;
+ lighthouse_pose_func lighthouseposeproc;
+ htc_config_func configfunction;
+ handle_lightcap_func lightcapfunction;
+
+ Config_group global_config_values;
+ Config_group* lh_config; //lighthouse configs
+ Config_group* temporary_config_values; //Set per-session, from command-line. Not saved but override global_config_values
+
+ //Calibration data:
+ int activeLighthouses;
+ BaseStationData bsd[NUM_LIGHTHOUSES];
+ SurviveCalData* calptr; //If and only if the calibration subsystem is attached.
+ struct SurviveRecordingData *recptr; // Iff recording is attached
+ SurviveObject** objs;
+ int objs_ct;
+
+ void** drivers;
+ DeviceDriverCb* driverpolls;
+ DeviceDriverCb* drivercloses;
+ DeviceDriverMagicCb* drivermagics;
+ int driver_ct;
+
+ SurviveState state;
+
+ void* buttonservicethread;
+ ButtonQueue buttonQueue;
+
+ void* user_ptr;
+
+ }
+ */
+} \ No newline at end of file