Newer
Older
HoloAnatomy / Assets / HoloToolkit / Input / Scripts / InputSources / SupportedInputInfo.cs
SURFACEBOOK2\jackwynne on 25 May 2018 639 bytes v1
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

using System;

namespace HoloToolkit.Unity.InputModule
{
    /// <summary>
    /// Flags used to indicate which input information is supported by an input source.
    /// </summary>
    [Flags]
    public enum SupportedInputInfo
    {
        None = 0,
        Position = (1 << 0),
        Rotation = (1 << 1),
        Pointing = (1 << 2),
        Thumbstick = (1 << 3),
        Touchpad = (1 << 4),
        Select = (1 << 5),
        Menu = (1 << 6),
        Grasp = (1 << 7),
    }
}