Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
akihiro21031's avatar
akihiro21031
Honored Guest
2 years ago

How to get controller button operation data in background Unity app while running VRgame via SteamVR

Hello,
 
I am currently looking for a way to independently capture controller inputs with my custom Unity application while VR games are active through SteamVR, communicating with a PC via Oculus Link.
 
Specifically, I am seeking a method to continuously acquire input data from the controller (such as A, B buttons, and the joystick) while the VR game is in focus and my custom application runs in the background. However, at present, when my custom app goes to the background, the capture of controller data is interrupted.
 
Is there a way within the Oculus SDK or Unity settings to redirect certain inputs to my custom app? Also, I would appreciate any information on whether the SDK has settings that support background input or any other potential solutions.
 
I would be grateful for any hints on how to achieve such a setup or advice from anyone who has had a similar experience.
 
Thank you for your cooperation.
Replies have been turned off for this discussion