aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Input/MotionInputId.cs
blob: 61c7d305c2d7d2423c535d19411815efc5b37554 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
namespace Ryujinx.Input
{
    /// <summary>
    /// Represent a motion sensor on a gamepad.
    /// </summary>
    public enum MotionInputId : byte
    {
        /// <summary>
        /// Invalid.
        /// </summary>
        Invalid,

        /// <summary>
        /// Accelerometer.
        /// </summary>
        /// <remarks>Values are in m/s^2</remarks>
        Accelerometer,

        /// <summary>
        /// Gyroscope.
        /// </summary>
        /// <remarks>Values are in degrees</remarks>
        Gyroscope,
    }
}