View Single Post
Old 01-09-2018, 10:27 AM
A Wundlechner A Wundlechner is offline
Join Date: Jan 2018
Posts: 2
Check for running SteamVR

Hello everyone,

for my program I want to use 2 different controlling scemes. One should be controlled with a gamepad and the other one is for steamvr. I want the following behaviour:

If steamvr is already running, I want to use the steamvr controlles.
If it's not running, I want to use the gamepad.

For those 2 cases I've already created 2 configfiles with vizconnect and I changed my specific code parts within the scripts. I only need to know if steamvr is already open.

I haven't found a helpfull command within the steamvr library, to check if steamvr is running. If I run the steamvr.HMD() command when steamvr is closed, it just opens steamvr.

Thanks in advance,

Andreas Wundlechner
Reply With Quote