VR4RoboticArm3/VR4RoboticArm/Library/PackageCache/com.unity.xr.oculus/Runtime/OculusUsages.cs
IonutMocanu 1d45ac8df0 Main1
2025-09-15 21:53:38 +03:00

27 lines
1.0 KiB
C#

#if ENABLE_VR || PACKAGE_DOCS_GENERATION
using UnityEngine.XR;
namespace Unity.XR.Oculus
{
/// <summary>
/// Input Usages, consumed by the UnityEngine.XR.InputDevice class in order to retrieve inputs.
/// These usages are all Oculus specific.
/// </summary>
public static class OculusUsages
{
/// <summary>
/// Represents the capacitive touch thumbrest on Oculus Rift controllers.
/// </summary>
public static InputFeatureUsage<bool> thumbrest = new InputFeatureUsage<bool>("Thumbrest");
/// <summary>
/// Represents the capacitive touch sensor state on the trigger of the Oculus Rift Controller.
/// </summary>
public static InputFeatureUsage<bool> indexTouch = new InputFeatureUsage<bool>("IndexTouch");
/// <summary>
/// Represents the capacitive touch sensor state on the grip of the Oculus Rift Controller.
/// </summary>
public static InputFeatureUsage<bool> thumbTouch = new InputFeatureUsage<bool>("ThumbTouch");
}
}
#endif