Description
If you haven’t yet, have a short look at VG_ExternalControllerManager on the purpose of a VG_ExternalController.
Setup
This is an external controller class that supports a UnityXR controller (such as provided by Pico or Oculus integrations) as an external controller.
The following requirements have to be met to be able to use this controller:
- You have the Unity XR Management package installed into your Unity project.
If these requirements are met, you will be able to use the “VG_EC_UnityXRHand” controller profile to setup your MyVirtualGrasp configuration (otherwise an error will appear on the console).

Functionality
Hand Poses
Only the wrists are mapped.
Will be controlled through UnityXR controller system, such as InputDevice.TryGetFeatureValue(CommonUsages.devicePosition).
Grab Signals
will be controlled through UnityXR controller system, such as InputDevice.TryGetFeatureValue(CommonUsages.trigger).
Haptic Signals
will be controlled through UnityXR controller system, such as InputDevice.SendHapticImpulse().