aboutsummaryrefslogtreecommitdiff
path: root/bindings/cs/LibSurviveBinding/SurviveContext.cs
blob: 2ba9b7c29073c321067c7d947c62060cd0e9f127 (plain)
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
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;

    }
    */
}