/// This function is used to disect the single Varjo Openness Float into a more managable Openness, Squeeze and Widen Value
/// As the three Parameters are exclusive to one another (if one is between 0 or 1, the others have to be either 0 or 1), we only need to do maths for one parameter
/// `openness` is returned as `-1` when VRCFT values should remain unchanged
/// </summary>
/// <param name="currentOpenness">Current openness value from VRCFT</param>
/// <param name="externalOpenness">Recorded openness value from Varjo</param>
/// <param name="eyeStatus">Tracking status of the eye</param>
// Check what range the Varjo Openness falls into and calculate the new "Openness" (ignore widen/squeeze thresholds when they are the respective max values)
// Tell the lib manager our result with the init and that we (again) do not support Lip Tracking
return(pipeConnected,false);
}
// Update function to be called in a while(true) loop. Keeping a delay is necessary to not fully load an entire CPU thread! (despite what the docs state)
publicoverridevoidUpdate()
{
if(Status==ModuleState.Active)
{
// try and update data; log an error on failure and wait 250ms