A game about forced loneliness, made by TACStudios
1#if UNITY_EDITOR || UNITY_ANDROID || PACKAGE_DOCS_GENERATION 2using System; 3using System.Linq; 4using System.Runtime.InteropServices; 5using UnityEngine.InputSystem.Android.LowLevel; 6using UnityEngine.InputSystem.Utilities; 7 8namespace UnityEngine.InputSystem.Android.LowLevel 9{ 10 /// <summary> 11 /// Enum used to identity the axis type in the Android motion input event. See <see cref="AndroidGameControllerState.axis"/>. 12 /// See https://developer.android.com/reference/android/view/MotionEvent#constants_1 for more details. 13 /// </summary> 14 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1027:MarkEnumsWithFlags", Justification = "False positive")] 15 public enum AndroidAxis 16 { 17 /// <summary> 18 /// X axis of a motion event. 19 /// </summary> 20 X = 0, 21 22 /// <summary> 23 /// Y axis of a motion event. 24 /// </summary> 25 Y = 1, 26 27 /// <summary> 28 /// Pressure axis of a motion event. 29 /// </summary> 30 Pressure = 2, 31 32 /// <summary> 33 /// Size axis of a motion event. 34 /// </summary> 35 Size = 3, 36 37 /// <summary> 38 /// TouchMajor axis of a motion event. 39 /// </summary> 40 TouchMajor = 4, 41 42 /// <summary> 43 /// TouchMinor axis of a motion event. 44 /// </summary> 45 TouchMinor = 5, 46 47 /// <summary> 48 /// ToolMajor axis of a motion event. 49 /// </summary> 50 ToolMajor = 6, 51 52 /// <summary> 53 /// ToolMinor axis of a motion event. 54 /// </summary> 55 ToolMinor = 7, 56 57 /// <summary> 58 /// Orientation axis of a motion event. 59 /// </summary> 60 Orientation = 8, 61 62 /// <summary> 63 /// Vertical Scroll of a motion event. 64 /// </summary> 65 Vscroll = 9, 66 67 /// <summary> 68 /// Horizontal Scroll axis of a motion event. 69 /// </summary> 70 Hscroll = 10, 71 72 /// <summary> 73 /// Z axis of a motion event. 74 /// </summary> 75 Z = 11, 76 77 /// <summary> 78 /// X Rotation axis of a motion event. 79 /// </summary> 80 Rx = 12, 81 82 /// <summary> 83 /// Y Rotation axis of a motion event. 84 /// </summary> 85 Ry = 13, 86 87 /// <summary> 88 /// Z Rotation axis of a motion event. 89 /// </summary> 90 Rz = 14, 91 92 /// <summary> 93 /// Hat X axis of a motion event. 94 /// </summary> 95 HatX = 15, 96 97 /// <summary> 98 /// Hat Y axis of a motion event. 99 /// </summary> 100 HatY = 16, 101 102 /// <summary> 103 /// Left Trigger axis of a motion event. 104 /// </summary> 105 Ltrigger = 17, 106 107 /// <summary> 108 /// Right Trigger axis of a motion event. 109 /// </summary> 110 Rtrigger = 18, 111 112 /// <summary> 113 /// Throttle axis of a motion event. 114 /// </summary> 115 Throttle = 19, 116 117 /// <summary> 118 /// Rudder axis of a motion event. 119 /// </summary> 120 Rudder = 20, 121 122 /// <summary> 123 /// Wheel axis of a motion event. 124 /// </summary> 125 Wheel = 21, 126 127 /// <summary> 128 /// Gas axis of a motion event. 129 /// </summary> 130 Gas = 22, 131 132 /// <summary> 133 /// Break axis of a motion event. 134 /// </summary> 135 Brake = 23, 136 137 /// <summary> 138 /// Distance axis of a motion event. 139 /// </summary> 140 Distance = 24, 141 142 /// <summary> 143 /// Tilt axis of a motion event. 144 /// </summary> 145 Tilt = 25, 146 147 /// <summary> 148 /// Generic 1 axis of a motion event. 149 /// </summary> 150 Generic1 = 32, 151 152 /// <summary> 153 /// Generic 2 axis of a motion event. 154 /// </summary> 155 Generic2 = 33, 156 157 /// <summary> 158 /// Generic 3 axis of a motion event. 159 /// </summary> 160 Generic3 = 34, 161 162 /// <summary> 163 /// Generic 4 axis of a motion event. 164 /// </summary> 165 Generic4 = 35, 166 167 /// <summary> 168 /// Generic 5 axis of a motion event. 169 /// </summary> 170 Generic5 = 36, 171 172 /// <summary> 173 /// Generic 6 axis of a motion event. 174 /// </summary> 175 Generic6 = 37, 176 177 /// <summary> 178 /// Generic 7 axis of a motion event. 179 /// </summary> 180 Generic7 = 38, 181 182 /// <summary> 183 /// Generic 8 axis of a motion event. 184 /// </summary> 185 Generic8 = 39, 186 187 /// <summary> 188 /// Generic 9 axis of a motion event. 189 /// </summary> 190 Generic9 = 40, 191 192 /// <summary> 193 /// Generic 10 axis of a motion event. 194 /// </summary> 195 Generic10 = 41, 196 197 /// <summary> 198 /// Generic 11 axis of a motion event. 199 /// </summary> 200 Generic11 = 42, 201 202 /// <summary> 203 /// Generic 12 axis of a motion event. 204 /// </summary> 205 Generic12 = 43, 206 207 /// <summary> 208 /// Generic 13 axis of a motion event. 209 /// </summary> 210 Generic13 = 44, 211 212 /// <summary> 213 /// Generic 14 axis of a motion event. 214 /// </summary> 215 Generic14 = 45, 216 217 /// <summary> 218 /// Generic 15 axis of a motion event. 219 /// </summary> 220 Generic15 = 46, 221 222 /// <summary> 223 /// Generic 16 axis of a motion event. 224 /// </summary> 225 Generic16 = 47, 226 } 227} 228#endif // UNITY_EDITOR || UNITY_ANDROID