public void RequestTrackerState() { TrackerGetRequest gr = new TrackerGetRequest(); gr.Values = new[] { Protocol.TRACKER_TRACKERSTATE, Protocol.TRACKER_FRAMERATE }; Request(JsonConvert.SerializeObject(gr)); }
public void RequestCalibrationStates() { TrackerGetRequest gr = new TrackerGetRequest(); gr.Values = new[] { Protocol.TRACKER_ISCALIBRATED, Protocol.TRACKER_ISCALIBRATING, Protocol.TRACKER_CALIBRATIONRESULT }; Request(JsonConvert.SerializeObject(gr)); }
public void RequestScreenStates() { TrackerGetRequest gr = new TrackerGetRequest(); gr.Values = new[] { Protocol.TRACKER_SCREEN_INDEX, Protocol.TRACKER_SCREEN_RESOLUTION_WIDTH, Protocol.TRACKER_SCREEN_RESOLUTION_HEIGHT, Protocol.TRACKER_SCREEN_PHYSICAL_WIDTH, Protocol.TRACKER_SCREEN_PHYSICAL_HEIGHT }; Request(JsonConvert.SerializeObject(gr)); }
public void RequestAllStates() { TrackerGetRequest gr = new TrackerGetRequest(); gr.Values = new[] { Protocol.TRACKER_HEARTBEATINTERVAL, Protocol.TRACKER_ISCALIBRATED, Protocol.TRACKER_ISCALIBRATING, Protocol.TRACKER_TRACKERSTATE, Protocol.TRACKER_SCREEN_INDEX, Protocol.TRACKER_SCREEN_RESOLUTION_WIDTH, Protocol.TRACKER_SCREEN_RESOLUTION_HEIGHT, Protocol.TRACKER_SCREEN_PHYSICAL_WIDTH, Protocol.TRACKER_SCREEN_PHYSICAL_HEIGHT, Protocol.TRACKER_CALIBRATIONRESULT, Protocol.TRACKER_FRAMERATE, Protocol.TRACKER_VERSION, Protocol.TRACKER_MODE_PUSH }; Request(JsonConvert.SerializeObject(gr)); }