SteamVR_Input_Actions.cs 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438
  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_bikevr_ResetPosition;
  36. private static SteamVR_Action_Boolean p_bikevr_MovePlayerForward;
  37. private static SteamVR_Action_Boolean p_bikevr_MovePlayerModeSwitch;
  38. private static SteamVR_Action_Boolean p_bikevr_MovePlayerBackward;
  39. private static SteamVR_Action_Boolean p_bikevr_MovePlayerLeft;
  40. private static SteamVR_Action_Boolean p_bikevr_MovePlayerRight;
  41. private static SteamVR_Action_Boolean p_bikevr_ResetBikePosition;
  42. private static SteamVR_Action_Pose p_bikevr_Steer;
  43. public static SteamVR_Action_Boolean default_InteractUI
  44. {
  45. get
  46. {
  47. return SteamVR_Actions.p_default_InteractUI.GetCopy<SteamVR_Action_Boolean>();
  48. }
  49. }
  50. public static SteamVR_Action_Boolean default_Teleport
  51. {
  52. get
  53. {
  54. return SteamVR_Actions.p_default_Teleport.GetCopy<SteamVR_Action_Boolean>();
  55. }
  56. }
  57. public static SteamVR_Action_Boolean default_GrabPinch
  58. {
  59. get
  60. {
  61. return SteamVR_Actions.p_default_GrabPinch.GetCopy<SteamVR_Action_Boolean>();
  62. }
  63. }
  64. public static SteamVR_Action_Boolean default_GrabGrip
  65. {
  66. get
  67. {
  68. return SteamVR_Actions.p_default_GrabGrip.GetCopy<SteamVR_Action_Boolean>();
  69. }
  70. }
  71. public static SteamVR_Action_Pose default_Pose
  72. {
  73. get
  74. {
  75. return SteamVR_Actions.p_default_Pose.GetCopy<SteamVR_Action_Pose>();
  76. }
  77. }
  78. public static SteamVR_Action_Skeleton default_SkeletonLeftHand
  79. {
  80. get
  81. {
  82. return SteamVR_Actions.p_default_SkeletonLeftHand.GetCopy<SteamVR_Action_Skeleton>();
  83. }
  84. }
  85. public static SteamVR_Action_Skeleton default_SkeletonRightHand
  86. {
  87. get
  88. {
  89. return SteamVR_Actions.p_default_SkeletonRightHand.GetCopy<SteamVR_Action_Skeleton>();
  90. }
  91. }
  92. public static SteamVR_Action_Single default_Squeeze
  93. {
  94. get
  95. {
  96. return SteamVR_Actions.p_default_Squeeze.GetCopy<SteamVR_Action_Single>();
  97. }
  98. }
  99. public static SteamVR_Action_Boolean default_HeadsetOnHead
  100. {
  101. get
  102. {
  103. return SteamVR_Actions.p_default_HeadsetOnHead.GetCopy<SteamVR_Action_Boolean>();
  104. }
  105. }
  106. public static SteamVR_Action_Boolean default_SnapTurnLeft
  107. {
  108. get
  109. {
  110. return SteamVR_Actions.p_default_SnapTurnLeft.GetCopy<SteamVR_Action_Boolean>();
  111. }
  112. }
  113. public static SteamVR_Action_Boolean default_SnapTurnRight
  114. {
  115. get
  116. {
  117. return SteamVR_Actions.p_default_SnapTurnRight.GetCopy<SteamVR_Action_Boolean>();
  118. }
  119. }
  120. public static SteamVR_Action_Vibration default_Haptic
  121. {
  122. get
  123. {
  124. return SteamVR_Actions.p_default_Haptic.GetCopy<SteamVR_Action_Vibration>();
  125. }
  126. }
  127. public static SteamVR_Action_Vector2 platformer_Move
  128. {
  129. get
  130. {
  131. return SteamVR_Actions.p_platformer_Move.GetCopy<SteamVR_Action_Vector2>();
  132. }
  133. }
  134. public static SteamVR_Action_Boolean platformer_Jump
  135. {
  136. get
  137. {
  138. return SteamVR_Actions.p_platformer_Jump.GetCopy<SteamVR_Action_Boolean>();
  139. }
  140. }
  141. public static SteamVR_Action_Vector2 buggy_Steering
  142. {
  143. get
  144. {
  145. return SteamVR_Actions.p_buggy_Steering.GetCopy<SteamVR_Action_Vector2>();
  146. }
  147. }
  148. public static SteamVR_Action_Single buggy_Throttle
  149. {
  150. get
  151. {
  152. return SteamVR_Actions.p_buggy_Throttle.GetCopy<SteamVR_Action_Single>();
  153. }
  154. }
  155. public static SteamVR_Action_Boolean buggy_Brake
  156. {
  157. get
  158. {
  159. return SteamVR_Actions.p_buggy_Brake.GetCopy<SteamVR_Action_Boolean>();
  160. }
  161. }
  162. public static SteamVR_Action_Boolean buggy_Reset
  163. {
  164. get
  165. {
  166. return SteamVR_Actions.p_buggy_Reset.GetCopy<SteamVR_Action_Boolean>();
  167. }
  168. }
  169. public static SteamVR_Action_Pose mixedreality_ExternalCamera
  170. {
  171. get
  172. {
  173. return SteamVR_Actions.p_mixedreality_ExternalCamera.GetCopy<SteamVR_Action_Pose>();
  174. }
  175. }
  176. public static SteamVR_Action_Boolean bikevr_ResetPosition
  177. {
  178. get
  179. {
  180. return SteamVR_Actions.p_bikevr_ResetPosition.GetCopy<SteamVR_Action_Boolean>();
  181. }
  182. }
  183. public static SteamVR_Action_Boolean bikevr_MovePlayerForward
  184. {
  185. get
  186. {
  187. return SteamVR_Actions.p_bikevr_MovePlayerForward.GetCopy<SteamVR_Action_Boolean>();
  188. }
  189. }
  190. public static SteamVR_Action_Boolean bikevr_MovePlayerModeSwitch
  191. {
  192. get
  193. {
  194. return SteamVR_Actions.p_bikevr_MovePlayerModeSwitch.GetCopy<SteamVR_Action_Boolean>();
  195. }
  196. }
  197. public static SteamVR_Action_Boolean bikevr_MovePlayerBackward
  198. {
  199. get
  200. {
  201. return SteamVR_Actions.p_bikevr_MovePlayerBackward.GetCopy<SteamVR_Action_Boolean>();
  202. }
  203. }
  204. public static SteamVR_Action_Boolean bikevr_MovePlayerLeft
  205. {
  206. get
  207. {
  208. return SteamVR_Actions.p_bikevr_MovePlayerLeft.GetCopy<SteamVR_Action_Boolean>();
  209. }
  210. }
  211. public static SteamVR_Action_Boolean bikevr_MovePlayerRight
  212. {
  213. get
  214. {
  215. return SteamVR_Actions.p_bikevr_MovePlayerRight.GetCopy<SteamVR_Action_Boolean>();
  216. }
  217. }
  218. public static SteamVR_Action_Boolean bikevr_ResetBikePosition
  219. {
  220. get
  221. {
  222. return SteamVR_Actions.p_bikevr_ResetBikePosition.GetCopy<SteamVR_Action_Boolean>();
  223. }
  224. }
  225. public static SteamVR_Action_Pose bikevr_Steer
  226. {
  227. get
  228. {
  229. return SteamVR_Actions.p_bikevr_Steer.GetCopy<SteamVR_Action_Pose>();
  230. }
  231. }
  232. private static void InitializeActionArrays()
  233. {
  234. Valve.VR.SteamVR_Input.actions = new Valve.VR.SteamVR_Action[] {
  235. SteamVR_Actions.default_InteractUI,
  236. SteamVR_Actions.default_Teleport,
  237. SteamVR_Actions.default_GrabPinch,
  238. SteamVR_Actions.default_GrabGrip,
  239. SteamVR_Actions.default_Pose,
  240. SteamVR_Actions.default_SkeletonLeftHand,
  241. SteamVR_Actions.default_SkeletonRightHand,
  242. SteamVR_Actions.default_Squeeze,
  243. SteamVR_Actions.default_HeadsetOnHead,
  244. SteamVR_Actions.default_SnapTurnLeft,
  245. SteamVR_Actions.default_SnapTurnRight,
  246. SteamVR_Actions.default_Haptic,
  247. SteamVR_Actions.platformer_Move,
  248. SteamVR_Actions.platformer_Jump,
  249. SteamVR_Actions.buggy_Steering,
  250. SteamVR_Actions.buggy_Throttle,
  251. SteamVR_Actions.buggy_Brake,
  252. SteamVR_Actions.buggy_Reset,
  253. SteamVR_Actions.mixedreality_ExternalCamera,
  254. SteamVR_Actions.bikevr_ResetPosition,
  255. SteamVR_Actions.bikevr_MovePlayerForward,
  256. SteamVR_Actions.bikevr_MovePlayerModeSwitch,
  257. SteamVR_Actions.bikevr_MovePlayerBackward,
  258. SteamVR_Actions.bikevr_MovePlayerLeft,
  259. SteamVR_Actions.bikevr_MovePlayerRight,
  260. SteamVR_Actions.bikevr_ResetBikePosition,
  261. SteamVR_Actions.bikevr_Steer};
  262. Valve.VR.SteamVR_Input.actionsIn = new Valve.VR.ISteamVR_Action_In[] {
  263. SteamVR_Actions.default_InteractUI,
  264. SteamVR_Actions.default_Teleport,
  265. SteamVR_Actions.default_GrabPinch,
  266. SteamVR_Actions.default_GrabGrip,
  267. SteamVR_Actions.default_Pose,
  268. SteamVR_Actions.default_SkeletonLeftHand,
  269. SteamVR_Actions.default_SkeletonRightHand,
  270. SteamVR_Actions.default_Squeeze,
  271. SteamVR_Actions.default_HeadsetOnHead,
  272. SteamVR_Actions.default_SnapTurnLeft,
  273. SteamVR_Actions.default_SnapTurnRight,
  274. SteamVR_Actions.platformer_Move,
  275. SteamVR_Actions.platformer_Jump,
  276. SteamVR_Actions.buggy_Steering,
  277. SteamVR_Actions.buggy_Throttle,
  278. SteamVR_Actions.buggy_Brake,
  279. SteamVR_Actions.buggy_Reset,
  280. SteamVR_Actions.mixedreality_ExternalCamera,
  281. SteamVR_Actions.bikevr_ResetPosition,
  282. SteamVR_Actions.bikevr_MovePlayerForward,
  283. SteamVR_Actions.bikevr_MovePlayerModeSwitch,
  284. SteamVR_Actions.bikevr_MovePlayerBackward,
  285. SteamVR_Actions.bikevr_MovePlayerLeft,
  286. SteamVR_Actions.bikevr_MovePlayerRight,
  287. SteamVR_Actions.bikevr_ResetBikePosition,
  288. SteamVR_Actions.bikevr_Steer};
  289. Valve.VR.SteamVR_Input.actionsOut = new Valve.VR.ISteamVR_Action_Out[] {
  290. SteamVR_Actions.default_Haptic};
  291. Valve.VR.SteamVR_Input.actionsVibration = new Valve.VR.SteamVR_Action_Vibration[] {
  292. SteamVR_Actions.default_Haptic};
  293. Valve.VR.SteamVR_Input.actionsPose = new Valve.VR.SteamVR_Action_Pose[] {
  294. SteamVR_Actions.default_Pose,
  295. SteamVR_Actions.mixedreality_ExternalCamera,
  296. SteamVR_Actions.bikevr_Steer};
  297. Valve.VR.SteamVR_Input.actionsBoolean = new Valve.VR.SteamVR_Action_Boolean[] {
  298. SteamVR_Actions.default_InteractUI,
  299. SteamVR_Actions.default_Teleport,
  300. SteamVR_Actions.default_GrabPinch,
  301. SteamVR_Actions.default_GrabGrip,
  302. SteamVR_Actions.default_HeadsetOnHead,
  303. SteamVR_Actions.default_SnapTurnLeft,
  304. SteamVR_Actions.default_SnapTurnRight,
  305. SteamVR_Actions.platformer_Jump,
  306. SteamVR_Actions.buggy_Brake,
  307. SteamVR_Actions.buggy_Reset,
  308. SteamVR_Actions.bikevr_ResetPosition,
  309. SteamVR_Actions.bikevr_MovePlayerForward,
  310. SteamVR_Actions.bikevr_MovePlayerModeSwitch,
  311. SteamVR_Actions.bikevr_MovePlayerBackward,
  312. SteamVR_Actions.bikevr_MovePlayerLeft,
  313. SteamVR_Actions.bikevr_MovePlayerRight,
  314. SteamVR_Actions.bikevr_ResetBikePosition};
  315. Valve.VR.SteamVR_Input.actionsSingle = new Valve.VR.SteamVR_Action_Single[] {
  316. SteamVR_Actions.default_Squeeze,
  317. SteamVR_Actions.buggy_Throttle};
  318. Valve.VR.SteamVR_Input.actionsVector2 = new Valve.VR.SteamVR_Action_Vector2[] {
  319. SteamVR_Actions.platformer_Move,
  320. SteamVR_Actions.buggy_Steering};
  321. Valve.VR.SteamVR_Input.actionsVector3 = new Valve.VR.SteamVR_Action_Vector3[0];
  322. Valve.VR.SteamVR_Input.actionsSkeleton = new Valve.VR.SteamVR_Action_Skeleton[] {
  323. SteamVR_Actions.default_SkeletonLeftHand,
  324. SteamVR_Actions.default_SkeletonRightHand};
  325. Valve.VR.SteamVR_Input.actionsNonPoseNonSkeletonIn = new Valve.VR.ISteamVR_Action_In[] {
  326. SteamVR_Actions.default_InteractUI,
  327. SteamVR_Actions.default_Teleport,
  328. SteamVR_Actions.default_GrabPinch,
  329. SteamVR_Actions.default_GrabGrip,
  330. SteamVR_Actions.default_Squeeze,
  331. SteamVR_Actions.default_HeadsetOnHead,
  332. SteamVR_Actions.default_SnapTurnLeft,
  333. SteamVR_Actions.default_SnapTurnRight,
  334. SteamVR_Actions.platformer_Move,
  335. SteamVR_Actions.platformer_Jump,
  336. SteamVR_Actions.buggy_Steering,
  337. SteamVR_Actions.buggy_Throttle,
  338. SteamVR_Actions.buggy_Brake,
  339. SteamVR_Actions.buggy_Reset,
  340. SteamVR_Actions.bikevr_ResetPosition,
  341. SteamVR_Actions.bikevr_MovePlayerForward,
  342. SteamVR_Actions.bikevr_MovePlayerModeSwitch,
  343. SteamVR_Actions.bikevr_MovePlayerBackward,
  344. SteamVR_Actions.bikevr_MovePlayerLeft,
  345. SteamVR_Actions.bikevr_MovePlayerRight,
  346. SteamVR_Actions.bikevr_ResetBikePosition};
  347. }
  348. private static void PreInitActions()
  349. {
  350. SteamVR_Actions.p_default_InteractUI = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/InteractUI")));
  351. SteamVR_Actions.p_default_Teleport = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/Teleport")));
  352. SteamVR_Actions.p_default_GrabPinch = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/GrabPinch")));
  353. SteamVR_Actions.p_default_GrabGrip = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
  354. SteamVR_Actions.p_default_Pose = ((SteamVR_Action_Pose)(SteamVR_Action.Create<SteamVR_Action_Pose>("/actions/default/in/Pose")));
  355. SteamVR_Actions.p_default_SkeletonLeftHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create<SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
  356. SteamVR_Actions.p_default_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create<SteamVR_Action_Skeleton>("/actions/default/in/SkeletonRightHand")));
  357. SteamVR_Actions.p_default_Squeeze = ((SteamVR_Action_Single)(SteamVR_Action.Create<SteamVR_Action_Single>("/actions/default/in/Squeeze")));
  358. SteamVR_Actions.p_default_HeadsetOnHead = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/HeadsetOnHead")));
  359. SteamVR_Actions.p_default_SnapTurnLeft = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/SnapTurnLeft")));
  360. SteamVR_Actions.p_default_SnapTurnRight = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/SnapTurnRight")));
  361. SteamVR_Actions.p_default_Haptic = ((SteamVR_Action_Vibration)(SteamVR_Action.Create<SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
  362. SteamVR_Actions.p_platformer_Move = ((SteamVR_Action_Vector2)(SteamVR_Action.Create<SteamVR_Action_Vector2>("/actions/platformer/in/Move")));
  363. SteamVR_Actions.p_platformer_Jump = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/platformer/in/Jump")));
  364. SteamVR_Actions.p_buggy_Steering = ((SteamVR_Action_Vector2)(SteamVR_Action.Create<SteamVR_Action_Vector2>("/actions/buggy/in/Steering")));
  365. SteamVR_Actions.p_buggy_Throttle = ((SteamVR_Action_Single)(SteamVR_Action.Create<SteamVR_Action_Single>("/actions/buggy/in/Throttle")));
  366. SteamVR_Actions.p_buggy_Brake = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/buggy/in/Brake")));
  367. SteamVR_Actions.p_buggy_Reset = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/buggy/in/Reset")));
  368. SteamVR_Actions.p_mixedreality_ExternalCamera = ((SteamVR_Action_Pose)(SteamVR_Action.Create<SteamVR_Action_Pose>("/actions/mixedreality/in/ExternalCamera")));
  369. SteamVR_Actions.p_bikevr_ResetPosition = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/bikevr/in/ResetPosition")));
  370. SteamVR_Actions.p_bikevr_MovePlayerForward = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/bikevr/in/MovePlayerForward")));
  371. SteamVR_Actions.p_bikevr_MovePlayerModeSwitch = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/bikevr/in/MovePlayerModeSwitch")));
  372. SteamVR_Actions.p_bikevr_MovePlayerBackward = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/bikevr/in/MovePlayerBackward")));
  373. SteamVR_Actions.p_bikevr_MovePlayerLeft = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/bikevr/in/MovePlayerLeft")));
  374. SteamVR_Actions.p_bikevr_MovePlayerRight = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/bikevr/in/MovePlayerRight")));
  375. SteamVR_Actions.p_bikevr_ResetBikePosition = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/bikevr/in/ResetBikePosition")));
  376. SteamVR_Actions.p_bikevr_Steer = ((SteamVR_Action_Pose)(SteamVR_Action.Create<SteamVR_Action_Pose>("/actions/bikevr/in/Steer")));
  377. }
  378. }
  379. }