// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.Utilities; namespace Microsoft.MixedReality.Toolkit.Input { /// /// /// public class SimpleHandDefinition : BaseInputSourceDefinition { /// /// Constructor. /// /// The handedness that this definition instance represents. public SimpleHandDefinition(Handedness handedness) : base(handedness) { } /// protected override MixedRealityInputActionMapping[] DefaultMappings => new[] { new MixedRealityInputActionMapping("Select", AxisType.Digital, DeviceInputType.Select), new MixedRealityInputActionMapping("Grip Pose", AxisType.SixDof, DeviceInputType.SpatialGrip), }; } }