1 comment

  1. We do not plan to implement this as an official Feature, you can already do this with custom scripts by watching for the process VirtualDesktop.Server to start or stop as that only runs while a headset is connected

    Below is an example of how you can use that to start SteamVR automatically when a headset connects.

    $Connected = $false

    while ($true) {

    $Running = Get-Process -Name "VirtualDesktop.Server" -ErrorAction SilentlyContinue

    if (!$Running -and $Connected) {

    Write-Output "User Not Connected"

    $Connected = $false

    } elseif ($Running -and !$Connected) {

    Write-Output "User Connected"

    & "C:\Program Files (x86)\Steam\steam.exe" steam://rungameid/250820

    $Connected = $true

    }

    }