SteamVR_Input_Actions.cs 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. // Runtime Version:4.0.30319.42000
  5. //
  6. // Changes to this file may cause incorrect behavior and will be lost if
  7. // the code is regenerated.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. namespace Valve.VR
  11. {
  12. using System;
  13. using UnityEngine;
  14. public partial class SteamVR_Actions
  15. {
  16. private static SteamVR_Action_Boolean p_default_InteractUI;
  17. private static SteamVR_Action_Boolean p_default_Teleport;
  18. private static SteamVR_Action_Boolean p_default_GrabPinch;
  19. private static SteamVR_Action_Boolean p_default_GrabGrip;
  20. private static SteamVR_Action_Pose p_default_Pose;
  21. private static SteamVR_Action_Skeleton p_default_SkeletonLeftHand;
  22. private static SteamVR_Action_Skeleton p_default_SkeletonRightHand;
  23. private static SteamVR_Action_Single p_default_Squeeze;
  24. private static SteamVR_Action_Boolean p_default_HeadsetOnHead;
  25. private static SteamVR_Action_Boolean p_default_SnapTurnLeft;
  26. private static SteamVR_Action_Boolean p_default_SnapTurnRight;
  27. private static SteamVR_Action_Vibration p_default_Haptic;
  28. private static SteamVR_Action_Vector2 p_platformer_Move;
  29. private static SteamVR_Action_Boolean p_platformer_Jump;
  30. private static SteamVR_Action_Vector2 p_buggy_Steering;
  31. private static SteamVR_Action_Single p_buggy_Throttle;
  32. private static SteamVR_Action_Boolean p_buggy_Brake;
  33. private static SteamVR_Action_Boolean p_buggy_Reset;
  34. private static SteamVR_Action_Pose p_mixedreality_ExternalCamera;
  35. private static SteamVR_Action_Boolean p_cMController_ReverseTime;
  36. private static SteamVR_Action_Boolean p_cMController_TimeSpeedUp;
  37. private static SteamVR_Action_Boolean p_cMController_TimeSpeedDown;
  38. private static SteamVR_Action_Boolean p_cMController_LODUp;
  39. private static SteamVR_Action_Boolean p_cMController_LODDown;
  40. private static SteamVR_Action_Boolean p_cMController_PlayPause;
  41. private static SteamVR_Action_Boolean p_cMController_FixController;
  42. public static SteamVR_Action_Boolean default_InteractUI
  43. {
  44. get
  45. {
  46. return SteamVR_Actions.p_default_InteractUI.GetCopy<SteamVR_Action_Boolean>();
  47. }
  48. }
  49. public static SteamVR_Action_Boolean default_Teleport
  50. {
  51. get
  52. {
  53. return SteamVR_Actions.p_default_Teleport.GetCopy<SteamVR_Action_Boolean>();
  54. }
  55. }
  56. public static SteamVR_Action_Boolean default_GrabPinch
  57. {
  58. get
  59. {
  60. return SteamVR_Actions.p_default_GrabPinch.GetCopy<SteamVR_Action_Boolean>();
  61. }
  62. }
  63. public static SteamVR_Action_Boolean default_GrabGrip
  64. {
  65. get
  66. {
  67. return SteamVR_Actions.p_default_GrabGrip.GetCopy<SteamVR_Action_Boolean>();
  68. }
  69. }
  70. public static SteamVR_Action_Pose default_Pose
  71. {
  72. get
  73. {
  74. return SteamVR_Actions.p_default_Pose.GetCopy<SteamVR_Action_Pose>();
  75. }
  76. }
  77. public static SteamVR_Action_Skeleton default_SkeletonLeftHand
  78. {
  79. get
  80. {
  81. return SteamVR_Actions.p_default_SkeletonLeftHand.GetCopy<SteamVR_Action_Skeleton>();
  82. }
  83. }
  84. public static SteamVR_Action_Skeleton default_SkeletonRightHand
  85. {
  86. get
  87. {
  88. return SteamVR_Actions.p_default_SkeletonRightHand.GetCopy<SteamVR_Action_Skeleton>();
  89. }
  90. }
  91. public static SteamVR_Action_Single default_Squeeze
  92. {
  93. get
  94. {
  95. return SteamVR_Actions.p_default_Squeeze.GetCopy<SteamVR_Action_Single>();
  96. }
  97. }
  98. public static SteamVR_Action_Boolean default_HeadsetOnHead
  99. {
  100. get
  101. {
  102. return SteamVR_Actions.p_default_HeadsetOnHead.GetCopy<SteamVR_Action_Boolean>();
  103. }
  104. }
  105. public static SteamVR_Action_Boolean default_SnapTurnLeft
  106. {
  107. get
  108. {
  109. return SteamVR_Actions.p_default_SnapTurnLeft.GetCopy<SteamVR_Action_Boolean>();
  110. }
  111. }
  112. public static SteamVR_Action_Boolean default_SnapTurnRight
  113. {
  114. get
  115. {
  116. return SteamVR_Actions.p_default_SnapTurnRight.GetCopy<SteamVR_Action_Boolean>();
  117. }
  118. }
  119. public static SteamVR_Action_Vibration default_Haptic
  120. {
  121. get
  122. {
  123. return SteamVR_Actions.p_default_Haptic.GetCopy<SteamVR_Action_Vibration>();
  124. }
  125. }
  126. public static SteamVR_Action_Vector2 platformer_Move
  127. {
  128. get
  129. {
  130. return SteamVR_Actions.p_platformer_Move.GetCopy<SteamVR_Action_Vector2>();
  131. }
  132. }
  133. public static SteamVR_Action_Boolean platformer_Jump
  134. {
  135. get
  136. {
  137. return SteamVR_Actions.p_platformer_Jump.GetCopy<SteamVR_Action_Boolean>();
  138. }
  139. }
  140. public static SteamVR_Action_Vector2 buggy_Steering
  141. {
  142. get
  143. {
  144. return SteamVR_Actions.p_buggy_Steering.GetCopy<SteamVR_Action_Vector2>();
  145. }
  146. }
  147. public static SteamVR_Action_Single buggy_Throttle
  148. {
  149. get
  150. {
  151. return SteamVR_Actions.p_buggy_Throttle.GetCopy<SteamVR_Action_Single>();
  152. }
  153. }
  154. public static SteamVR_Action_Boolean buggy_Brake
  155. {
  156. get
  157. {
  158. return SteamVR_Actions.p_buggy_Brake.GetCopy<SteamVR_Action_Boolean>();
  159. }
  160. }
  161. public static SteamVR_Action_Boolean buggy_Reset
  162. {
  163. get
  164. {
  165. return SteamVR_Actions.p_buggy_Reset.GetCopy<SteamVR_Action_Boolean>();
  166. }
  167. }
  168. public static SteamVR_Action_Pose mixedreality_ExternalCamera
  169. {
  170. get
  171. {
  172. return SteamVR_Actions.p_mixedreality_ExternalCamera.GetCopy<SteamVR_Action_Pose>();
  173. }
  174. }
  175. public static SteamVR_Action_Boolean cMController_ReverseTime
  176. {
  177. get
  178. {
  179. return SteamVR_Actions.p_cMController_ReverseTime.GetCopy<SteamVR_Action_Boolean>();
  180. }
  181. }
  182. public static SteamVR_Action_Boolean cMController_TimeSpeedUp
  183. {
  184. get
  185. {
  186. return SteamVR_Actions.p_cMController_TimeSpeedUp.GetCopy<SteamVR_Action_Boolean>();
  187. }
  188. }
  189. public static SteamVR_Action_Boolean cMController_TimeSpeedDown
  190. {
  191. get
  192. {
  193. return SteamVR_Actions.p_cMController_TimeSpeedDown.GetCopy<SteamVR_Action_Boolean>();
  194. }
  195. }
  196. public static SteamVR_Action_Boolean cMController_LODUp
  197. {
  198. get
  199. {
  200. return SteamVR_Actions.p_cMController_LODUp.GetCopy<SteamVR_Action_Boolean>();
  201. }
  202. }
  203. public static SteamVR_Action_Boolean cMController_LODDown
  204. {
  205. get
  206. {
  207. return SteamVR_Actions.p_cMController_LODDown.GetCopy<SteamVR_Action_Boolean>();
  208. }
  209. }
  210. public static SteamVR_Action_Boolean cMController_PlayPause
  211. {
  212. get
  213. {
  214. return SteamVR_Actions.p_cMController_PlayPause.GetCopy<SteamVR_Action_Boolean>();
  215. }
  216. }
  217. public static SteamVR_Action_Boolean cMController_FixController
  218. {
  219. get
  220. {
  221. return SteamVR_Actions.p_cMController_FixController.GetCopy<SteamVR_Action_Boolean>();
  222. }
  223. }
  224. private static void InitializeActionArrays()
  225. {
  226. Valve.VR.SteamVR_Input.actions = new Valve.VR.SteamVR_Action[] {
  227. SteamVR_Actions.default_InteractUI,
  228. SteamVR_Actions.default_Teleport,
  229. SteamVR_Actions.default_GrabPinch,
  230. SteamVR_Actions.default_GrabGrip,
  231. SteamVR_Actions.default_Pose,
  232. SteamVR_Actions.default_SkeletonLeftHand,
  233. SteamVR_Actions.default_SkeletonRightHand,
  234. SteamVR_Actions.default_Squeeze,
  235. SteamVR_Actions.default_HeadsetOnHead,
  236. SteamVR_Actions.default_SnapTurnLeft,
  237. SteamVR_Actions.default_SnapTurnRight,
  238. SteamVR_Actions.default_Haptic,
  239. SteamVR_Actions.platformer_Move,
  240. SteamVR_Actions.platformer_Jump,
  241. SteamVR_Actions.buggy_Steering,
  242. SteamVR_Actions.buggy_Throttle,
  243. SteamVR_Actions.buggy_Brake,
  244. SteamVR_Actions.buggy_Reset,
  245. SteamVR_Actions.mixedreality_ExternalCamera,
  246. SteamVR_Actions.cMController_ReverseTime,
  247. SteamVR_Actions.cMController_TimeSpeedUp,
  248. SteamVR_Actions.cMController_TimeSpeedDown,
  249. SteamVR_Actions.cMController_LODUp,
  250. SteamVR_Actions.cMController_LODDown,
  251. SteamVR_Actions.cMController_PlayPause,
  252. SteamVR_Actions.cMController_FixController};
  253. Valve.VR.SteamVR_Input.actionsIn = new Valve.VR.ISteamVR_Action_In[] {
  254. SteamVR_Actions.default_InteractUI,
  255. SteamVR_Actions.default_Teleport,
  256. SteamVR_Actions.default_GrabPinch,
  257. SteamVR_Actions.default_GrabGrip,
  258. SteamVR_Actions.default_Pose,
  259. SteamVR_Actions.default_SkeletonLeftHand,
  260. SteamVR_Actions.default_SkeletonRightHand,
  261. SteamVR_Actions.default_Squeeze,
  262. SteamVR_Actions.default_HeadsetOnHead,
  263. SteamVR_Actions.default_SnapTurnLeft,
  264. SteamVR_Actions.default_SnapTurnRight,
  265. SteamVR_Actions.platformer_Move,
  266. SteamVR_Actions.platformer_Jump,
  267. SteamVR_Actions.buggy_Steering,
  268. SteamVR_Actions.buggy_Throttle,
  269. SteamVR_Actions.buggy_Brake,
  270. SteamVR_Actions.buggy_Reset,
  271. SteamVR_Actions.mixedreality_ExternalCamera,
  272. SteamVR_Actions.cMController_ReverseTime,
  273. SteamVR_Actions.cMController_TimeSpeedUp,
  274. SteamVR_Actions.cMController_TimeSpeedDown,
  275. SteamVR_Actions.cMController_LODUp,
  276. SteamVR_Actions.cMController_LODDown,
  277. SteamVR_Actions.cMController_PlayPause,
  278. SteamVR_Actions.cMController_FixController};
  279. Valve.VR.SteamVR_Input.actionsOut = new Valve.VR.ISteamVR_Action_Out[] {
  280. SteamVR_Actions.default_Haptic};
  281. Valve.VR.SteamVR_Input.actionsVibration = new Valve.VR.SteamVR_Action_Vibration[] {
  282. SteamVR_Actions.default_Haptic};
  283. Valve.VR.SteamVR_Input.actionsPose = new Valve.VR.SteamVR_Action_Pose[] {
  284. SteamVR_Actions.default_Pose,
  285. SteamVR_Actions.mixedreality_ExternalCamera};
  286. Valve.VR.SteamVR_Input.actionsBoolean = new Valve.VR.SteamVR_Action_Boolean[] {
  287. SteamVR_Actions.default_InteractUI,
  288. SteamVR_Actions.default_Teleport,
  289. SteamVR_Actions.default_GrabPinch,
  290. SteamVR_Actions.default_GrabGrip,
  291. SteamVR_Actions.default_HeadsetOnHead,
  292. SteamVR_Actions.default_SnapTurnLeft,
  293. SteamVR_Actions.default_SnapTurnRight,
  294. SteamVR_Actions.platformer_Jump,
  295. SteamVR_Actions.buggy_Brake,
  296. SteamVR_Actions.buggy_Reset,
  297. SteamVR_Actions.cMController_ReverseTime,
  298. SteamVR_Actions.cMController_TimeSpeedUp,
  299. SteamVR_Actions.cMController_TimeSpeedDown,
  300. SteamVR_Actions.cMController_LODUp,
  301. SteamVR_Actions.cMController_LODDown,
  302. SteamVR_Actions.cMController_PlayPause,
  303. SteamVR_Actions.cMController_FixController};
  304. Valve.VR.SteamVR_Input.actionsSingle = new Valve.VR.SteamVR_Action_Single[] {
  305. SteamVR_Actions.default_Squeeze,
  306. SteamVR_Actions.buggy_Throttle};
  307. Valve.VR.SteamVR_Input.actionsVector2 = new Valve.VR.SteamVR_Action_Vector2[] {
  308. SteamVR_Actions.platformer_Move,
  309. SteamVR_Actions.buggy_Steering};
  310. Valve.VR.SteamVR_Input.actionsVector3 = new Valve.VR.SteamVR_Action_Vector3[0];
  311. Valve.VR.SteamVR_Input.actionsSkeleton = new Valve.VR.SteamVR_Action_Skeleton[] {
  312. SteamVR_Actions.default_SkeletonLeftHand,
  313. SteamVR_Actions.default_SkeletonRightHand};
  314. Valve.VR.SteamVR_Input.actionsNonPoseNonSkeletonIn = new Valve.VR.ISteamVR_Action_In[] {
  315. SteamVR_Actions.default_InteractUI,
  316. SteamVR_Actions.default_Teleport,
  317. SteamVR_Actions.default_GrabPinch,
  318. SteamVR_Actions.default_GrabGrip,
  319. SteamVR_Actions.default_Squeeze,
  320. SteamVR_Actions.default_HeadsetOnHead,
  321. SteamVR_Actions.default_SnapTurnLeft,
  322. SteamVR_Actions.default_SnapTurnRight,
  323. SteamVR_Actions.platformer_Move,
  324. SteamVR_Actions.platformer_Jump,
  325. SteamVR_Actions.buggy_Steering,
  326. SteamVR_Actions.buggy_Throttle,
  327. SteamVR_Actions.buggy_Brake,
  328. SteamVR_Actions.buggy_Reset,
  329. SteamVR_Actions.cMController_ReverseTime,
  330. SteamVR_Actions.cMController_TimeSpeedUp,
  331. SteamVR_Actions.cMController_TimeSpeedDown,
  332. SteamVR_Actions.cMController_LODUp,
  333. SteamVR_Actions.cMController_LODDown,
  334. SteamVR_Actions.cMController_PlayPause,
  335. SteamVR_Actions.cMController_FixController};
  336. }
  337. private static void PreInitActions()
  338. {
  339. SteamVR_Actions.p_default_InteractUI = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/InteractUI")));
  340. SteamVR_Actions.p_default_Teleport = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/Teleport")));
  341. SteamVR_Actions.p_default_GrabPinch = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/GrabPinch")));
  342. SteamVR_Actions.p_default_GrabGrip = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
  343. SteamVR_Actions.p_default_Pose = ((SteamVR_Action_Pose)(SteamVR_Action.Create<SteamVR_Action_Pose>("/actions/default/in/Pose")));
  344. SteamVR_Actions.p_default_SkeletonLeftHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create<SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
  345. SteamVR_Actions.p_default_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create<SteamVR_Action_Skeleton>("/actions/default/in/SkeletonRightHand")));
  346. SteamVR_Actions.p_default_Squeeze = ((SteamVR_Action_Single)(SteamVR_Action.Create<SteamVR_Action_Single>("/actions/default/in/Squeeze")));
  347. SteamVR_Actions.p_default_HeadsetOnHead = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/HeadsetOnHead")));
  348. SteamVR_Actions.p_default_SnapTurnLeft = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/SnapTurnLeft")));
  349. SteamVR_Actions.p_default_SnapTurnRight = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/SnapTurnRight")));
  350. SteamVR_Actions.p_default_Haptic = ((SteamVR_Action_Vibration)(SteamVR_Action.Create<SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
  351. SteamVR_Actions.p_platformer_Move = ((SteamVR_Action_Vector2)(SteamVR_Action.Create<SteamVR_Action_Vector2>("/actions/platformer/in/Move")));
  352. SteamVR_Actions.p_platformer_Jump = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/platformer/in/Jump")));
  353. SteamVR_Actions.p_buggy_Steering = ((SteamVR_Action_Vector2)(SteamVR_Action.Create<SteamVR_Action_Vector2>("/actions/buggy/in/Steering")));
  354. SteamVR_Actions.p_buggy_Throttle = ((SteamVR_Action_Single)(SteamVR_Action.Create<SteamVR_Action_Single>("/actions/buggy/in/Throttle")));
  355. SteamVR_Actions.p_buggy_Brake = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/buggy/in/Brake")));
  356. SteamVR_Actions.p_buggy_Reset = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/buggy/in/Reset")));
  357. SteamVR_Actions.p_mixedreality_ExternalCamera = ((SteamVR_Action_Pose)(SteamVR_Action.Create<SteamVR_Action_Pose>("/actions/mixedreality/in/ExternalCamera")));
  358. SteamVR_Actions.p_cMController_ReverseTime = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/CMController/in/ReverseTime")));
  359. SteamVR_Actions.p_cMController_TimeSpeedUp = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/CMController/in/TimeSpeedUp")));
  360. SteamVR_Actions.p_cMController_TimeSpeedDown = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/CMController/in/TimeSpeedDown")));
  361. SteamVR_Actions.p_cMController_LODUp = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/CMController/in/LODUp")));
  362. SteamVR_Actions.p_cMController_LODDown = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/CMController/in/LODDown")));
  363. SteamVR_Actions.p_cMController_PlayPause = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/CMController/in/PlayPause")));
  364. SteamVR_Actions.p_cMController_FixController = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/CMController/in/FixController")));
  365. }
  366. }
  367. }