Sorry, this is not really a Performance issue, but more a question (or a feature request at best if there's no easy option):
I'm looking for an as simple and generic as possible way to check whether a HMD is present or not.
"Generic" because I want to use it before the "Start regular game in Stereo3D VR" function in my SteamTinkerLaunch, so it is not even executed if the HMD is not present.
I found the command **/to/be/searched/SteamLibrary/path**/steamapps/common/SteamVR/bin/linux64/vrcmd
which returns VR_IsHmdPresent, so this is already pretty good, but if there is a way without having to find a binary first this would be great (checking dmesg or lsusb requires checking for multiple possible devices, which need to be hard-coded somewhere)
Sorry, this is not really a Performance issue, but more a question (or a feature request at best if there's no easy option):
I'm looking for an as simple and generic as possible way to check whether a HMD is present or not.
"Generic" because I want to use it before the "Start regular game in Stereo3D VR" function in my SteamTinkerLaunch, so it is not even executed if the HMD is not present.
I found the command
**/to/be/searched/SteamLibrary/path**/steamapps/common/SteamVR/bin/linux64/vrcmdwhich returns VR_IsHmdPresent, so this is already pretty good, but if there is a way without having to find a binary first this would be great (checking dmesg or lsusb requires checking for multiple possible devices, which need to be hard-coded somewhere)