Files
sbox-public/engine/Sandbox.Engine/Systems/Input/VR/VRController.Inputs.cs
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

35 lines
913 B
C#

namespace Sandbox.VR;
partial record VRController
{
/// <summary>
/// The trigger input on this controller
/// </summary>
public AnalogInput Trigger { get; internal set; }
/// <summary>
/// The grip input on this controller
/// </summary>
public AnalogInput Grip { get; internal set; }
/// <summary>
/// The primary joystick input on this controller
/// </summary>
public AnalogInput2D Joystick { get; internal set; }
/// <summary>
/// The primary joystick press on this controller
/// </summary>
public DigitalInput JoystickPress { get; internal set; }
/// <summary>
/// The primary button on this controller (Usually A, can be X for Oculus Touch)
/// </summary>
public DigitalInput ButtonA { get; internal set; }
/// <summary>
/// The secondary button on this controller (Usually B, can be Y for Oculus Touch)
/// </summary>
public DigitalInput ButtonB { get; internal set; }
}