Last active
July 16, 2021 20:01
-
-
Save corycorvus/2bcfc6c95285200fa9931b10fdf78a22 to your computer and use it in GitHub Desktop.
Power off SteamVR device
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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