// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.Utilities; namespace Microsoft.MixedReality.Toolkit.Input { /// /// /// public class TouchScreenDefinition : BaseInputSourceDefinition { /// /// Constructor. /// public TouchScreenDefinition() : base(Handedness.None) { } /// protected override MixedRealityInputActionMapping[] DefaultMappings => new[] { new MixedRealityInputActionMapping("Touch Pointer Delta", AxisType.DualAxis, DeviceInputType.PointerPosition), new MixedRealityInputActionMapping("Touch Pointer Position", AxisType.SixDof, DeviceInputType.SpatialPointer), new MixedRealityInputActionMapping("Touch Press", AxisType.Digital, DeviceInputType.PointerClick), }; } }