Add ultimate xr
This commit is contained in:
33
Assets/UltimateXR/Runtime/Scripts/Devices/UxrInput1D.cs
Normal file
33
Assets/UltimateXR/Runtime/Scripts/Devices/UxrInput1D.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
// --------------------------------------------------------------------------------------------------------------------
|
||||
// <copyright file="UxrInput1D.cs" company="VRMADA">
|
||||
// Copyright (c) VRMADA, All rights reserved.
|
||||
// </copyright>
|
||||
// --------------------------------------------------------------------------------------------------------------------
|
||||
namespace UltimateXR.Devices
|
||||
{
|
||||
/// <summary>
|
||||
/// Enumerates the possible elements in a VR controller that have a single axis input.
|
||||
/// </summary>
|
||||
public enum UxrInput1D
|
||||
{
|
||||
/// <summary>
|
||||
/// No single axis element.
|
||||
/// </summary>
|
||||
None,
|
||||
|
||||
/// <summary>
|
||||
/// Analog grip button.
|
||||
/// </summary>
|
||||
Grip,
|
||||
|
||||
/// <summary>
|
||||
/// Analog trigger button.
|
||||
/// </summary>
|
||||
Trigger,
|
||||
|
||||
/// <summary>
|
||||
/// Secondary analog trigger button, in controllers that have two trigger buttons.
|
||||
/// </summary>
|
||||
Trigger2
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user