#if UNITY_EDITOR || UNITY_ANDROID || PACKAGE_DOCS_GENERATION using System; using System.Linq; using System.Runtime.InteropServices; using UnityEngine.InputSystem.Android.LowLevel; using UnityEngine.InputSystem.Utilities; namespace UnityEngine.InputSystem.Android.LowLevel { /// /// Enum used to identity the axis type in the Android motion input event. See . /// See https://developer.android.com/reference/android/view/MotionEvent#constants_1 for more details. /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1027:MarkEnumsWithFlags", Justification = "False positive")] public enum AndroidAxis { /// /// X axis of a motion event. /// X = 0, /// /// Y axis of a motion event. /// Y = 1, /// /// Pressure axis of a motion event. /// Pressure = 2, /// /// Size axis of a motion event. /// Size = 3, /// /// TouchMajor axis of a motion event. /// TouchMajor = 4, /// /// TouchMinor axis of a motion event. /// TouchMinor = 5, /// /// ToolMajor axis of a motion event. /// ToolMajor = 6, /// /// ToolMinor axis of a motion event. /// ToolMinor = 7, /// /// Orientation axis of a motion event. /// Orientation = 8, /// /// Vertical Scroll of a motion event. /// Vscroll = 9, /// /// Horizontal Scroll axis of a motion event. /// Hscroll = 10, /// /// Z axis of a motion event. /// Z = 11, /// /// X Rotation axis of a motion event. /// Rx = 12, /// /// Y Rotation axis of a motion event. /// Ry = 13, /// /// Z Rotation axis of a motion event. /// Rz = 14, /// /// Hat X axis of a motion event. /// HatX = 15, /// /// Hat Y axis of a motion event. /// HatY = 16, /// /// Left Trigger axis of a motion event. /// Ltrigger = 17, /// /// Right Trigger axis of a motion event. /// Rtrigger = 18, /// /// Throttle axis of a motion event. /// Throttle = 19, /// /// Rudder axis of a motion event. /// Rudder = 20, /// /// Wheel axis of a motion event. /// Wheel = 21, /// /// Gas axis of a motion event. /// Gas = 22, /// /// Break axis of a motion event. /// Brake = 23, /// /// Distance axis of a motion event. /// Distance = 24, /// /// Tilt axis of a motion event. /// Tilt = 25, /// /// Generic 1 axis of a motion event. /// Generic1 = 32, /// /// Generic 2 axis of a motion event. /// Generic2 = 33, /// /// Generic 3 axis of a motion event. /// Generic3 = 34, /// /// Generic 4 axis of a motion event. /// Generic4 = 35, /// /// Generic 5 axis of a motion event. /// Generic5 = 36, /// /// Generic 6 axis of a motion event. /// Generic6 = 37, /// /// Generic 7 axis of a motion event. /// Generic7 = 38, /// /// Generic 8 axis of a motion event. /// Generic8 = 39, /// /// Generic 9 axis of a motion event. /// Generic9 = 40, /// /// Generic 10 axis of a motion event. /// Generic10 = 41, /// /// Generic 11 axis of a motion event. /// Generic11 = 42, /// /// Generic 12 axis of a motion event. /// Generic12 = 43, /// /// Generic 13 axis of a motion event. /// Generic13 = 44, /// /// Generic 14 axis of a motion event. /// Generic14 = 45, /// /// Generic 15 axis of a motion event. /// Generic15 = 46, /// /// Generic 16 axis of a motion event. /// Generic16 = 47, } } #endif // UNITY_EDITOR || UNITY_ANDROID