This class represents a child class of VG_ExternalController.

If you haven’t yet, have a short look at VG_ExternalControllerManager on the purpose of a VG_ExternalController.

Description

This is an external controller class that supports a UnityXR controller as an external controller.

The following requirements have to be met to be able to enable the #define USE_LEAP_CONTROLLER above and use the controller:

  • You have the Unity XR Management package installed into your Unity project.

After this, use the “QUEST” option to AutoSetup your VG configuration.

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().