Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
GRADGR's avatar
GRADGR
Protege
7 years ago

How to DETECT if : VR Controller or gamepad is Connected?


  • If the app cannot be used without an external input device (e.g. gamepad or 3DOF controller), and no input device is detected when the app starts up, the app must warn the user to connect the necessary device.
  • - if your app requires a VR Controller or gamepad but it isn't connected at app launch, present a notification that no gamepad is detected and that it’s required to use the app.
This is the response from Oculus Team, is anyone aware of how can we Detect those in BPs?

Thank you!

4 Replies

Replies have been turned off for this discussion
  • You can use checks like this
     OVRInput.IsControllerConnected (OVRInput.Controller.RTrackedRemote) 

    OVRInput.IsControllerConnected (OVRInput.Controller.LTrackedRemote)

     OVRInput.IsControllerConnected (OVRInput.Controller.Gamepad)

  • Anonymous's avatar
    Anonymous

    GRADGR said:

    Is this kind of check implemented with Blueprints?


    Use the node: "Is Device Tracked"
  • I ve seen this node, should this be included for both L+R Motion Controllers? and how to Detect a Gamepad?
    Thank you!