pub unsafe extern "C" fn QTMU_GetRawTrackingDataEx(
outData: *mut QtmRawTrackingData,
predictionTimePointOrZero: s64,
) -> ResultExpand description
Gets the current raw eye tracking data, with an optional prediction made for predictionTimePointOrZero = t+dt, or for the current time point (QTM makes predictions based on gyro data since inner camera runs at 30 FPS).
§Arguments
outData(direction out) - Where to write the raw tracking data to. Cleared to all-zero on failure (instead of being left uninitialized).predictionTimePointOrZero- Either zero, or the time point (in system ticks) for which to make a prediction for. Maximum 1 frame (at 30 FPS) in the past, and up to 5 frames in the future.
§Returns
0xC8A18008 if camera is in use by user, or 0xC8A183EF if QTM is unavailable (in particular, QTM is always
unavailable on N2DSXL), Otherwise, 0 (success). Return value should be checked by caller.
Note: Consider using QTMU_GetTrackingDataEx instead.