private InputCommands PopCommand(DeviceType deviceType) { #if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN return((InputCommands)EnfluxNativePull.PopCommand(deviceType)); #else return(InputCommands.DeviceDisconnected); #endif }
private bool HasNewCommand(DeviceType deviceType) { #if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN return(Convert.ToBoolean(EnfluxNativePull.HasNewCommand(deviceType))); #else return(false); #endif }
public void StartCalibration(DeviceType deviceType) { #if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN EnfluxNativePull.StartCalibrationPull(deviceType); #endif }
public void EndStreaming() { #if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN EnfluxNativePull.EndStreamingThread(); #endif }
public void StartStreaming(DeviceType deviceType) { #if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN EnfluxNativePull.StartStreamingPull(deviceType); #endif }