// -------------------------------------------------------------------------------------------------------------------- // // Copyright (c) VRMADA, All rights reserved. // // -------------------------------------------------------------------------------------------------------------------- using System; using UltimateXR.Core; namespace UltimateXR.Devices { /// /// Stores information of a input event. /// public sealed class UxrInputButtonEventArgs : EventArgs { #region Public Types & Data /// /// Gets which hand performed the input. /// public UxrHandSide HandSide { get; } /// /// Gets which button changed. /// public UxrInputButtons Button { get; } /// /// Gets the button input event type. /// public UxrButtonEventType ButtonEventType { get; } #endregion #region Constructors & Finalizer /// /// Constructor. /// /// Target hand /// Target button /// Button input event type public UxrInputButtonEventArgs(UxrHandSide handSide, UxrInputButtons button, UxrButtonEventType buttonEventType) { HandSide = handSide; Button = button; ButtonEventType = buttonEventType; } #endregion } }