Skip to content

Instantly share code, notes, and snippets.

@corycorvus
Last active July 16, 2021 20:01
Show Gist options
  • Save corycorvus/2bcfc6c95285200fa9931b10fdf78a22 to your computer and use it in GitHub Desktop.
Save corycorvus/2bcfc6c95285200fa9931b10fdf78a22 to your computer and use it in GitHub Desktop.
Power off SteamVR device
System.Diagnostics.Process process = new System.Diagnostics.Process();
process.StartInfo.FileName = "C:\\Program Files (x86)\\Steam\\steamapps\\common\\SteamVR\\tools\\lighthouse\\bin\\win64\\lighthouse_console.exe";
process.StartInfo.Arguments = "/serial 81F6B76702 poweroff";
process.StartInfo.UseShellExecute = true;
process.StartInfo.CreateNoWindow = true;
process.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
process.Start();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment