public static bool HeadsetOff() { lock (locker) { if (dev == null) { return(false); } return(dev.SendReport(PSVRReport.GetHeadsetOff())); } }
public static bool EnableVRTracking() { lock (locker) { if (dev == null) { return(false); } return(dev.SendReport(PSVRReport.GetEnableVRTracking())); } }
public static bool EnableCinematicMode() { lock (locker) { if (dev == null) { return(false); } return(dev.SendReport(PSVRReport.GetExitVRMode())); } }
public static bool RequestDeviceInfo() { lock (locker) { if (dev == null) { return(false); } var cmd = PSVRReport.GetReadDeviceInfo(); return(dev.SendReport(cmd)); } }
public static bool LedsDefault() { lock (locker) { if (dev == null) { return(false); } Settings set = Settings.Instance; var cmd = PSVRReport.GetSetHDMLeds(LedMask.All, 0, 0, 0, 0, 0, 0, 0, 0x46, 0x46); return(dev.SendReport(cmd)); } }
public static bool ApplyLedSettings() { lock (locker) { if (dev == null) { return(false); } Settings set = Settings.Instance; var cmd = PSVRReport.GetSetHDMLeds(LedMask.All, set.LedAIntensity, set.LedBIntensity, set.LedCIntensity, set.LedDIntensity, set.LedEIntensity, set.LedFIntensity, set.LedGIntensity, set.LedHIntensity, set.LedIIntensity); return(dev.SendReport(cmd)); } }
public static bool ApplyCinematicSettings() { lock (locker) { if (dev == null) { return(false); } Settings set = Settings.Instance; var cmd = PSVRReport.GetSetCinematicConfiguration(0xC0, set.ScreenDistance, set.ScreenSize, 0x14, set.Brightness, set.MicVol, false); return(dev.SendReport(cmd)); } }