SteamVR_Input_Actions.cs 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  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. public static SteamVR_Action_Boolean default_InteractUI
  36. {
  37. get
  38. {
  39. return SteamVR_Actions.p_default_InteractUI.GetCopy<SteamVR_Action_Boolean>();
  40. }
  41. }
  42. public static SteamVR_Action_Boolean default_Teleport
  43. {
  44. get
  45. {
  46. return SteamVR_Actions.p_default_Teleport.GetCopy<SteamVR_Action_Boolean>();
  47. }
  48. }
  49. public static SteamVR_Action_Boolean default_GrabPinch
  50. {
  51. get
  52. {
  53. return SteamVR_Actions.p_default_GrabPinch.GetCopy<SteamVR_Action_Boolean>();
  54. }
  55. }
  56. public static SteamVR_Action_Boolean default_GrabGrip
  57. {
  58. get
  59. {
  60. return SteamVR_Actions.p_default_GrabGrip.GetCopy<SteamVR_Action_Boolean>();
  61. }
  62. }
  63. public static SteamVR_Action_Pose default_Pose
  64. {
  65. get
  66. {
  67. return SteamVR_Actions.p_default_Pose.GetCopy<SteamVR_Action_Pose>();
  68. }
  69. }
  70. public static SteamVR_Action_Skeleton default_SkeletonLeftHand
  71. {
  72. get
  73. {
  74. return SteamVR_Actions.p_default_SkeletonLeftHand.GetCopy<SteamVR_Action_Skeleton>();
  75. }
  76. }
  77. public static SteamVR_Action_Skeleton default_SkeletonRightHand
  78. {
  79. get
  80. {
  81. return SteamVR_Actions.p_default_SkeletonRightHand.GetCopy<SteamVR_Action_Skeleton>();
  82. }
  83. }
  84. public static SteamVR_Action_Single default_Squeeze
  85. {
  86. get
  87. {
  88. return SteamVR_Actions.p_default_Squeeze.GetCopy<SteamVR_Action_Single>();
  89. }
  90. }
  91. public static SteamVR_Action_Boolean default_HeadsetOnHead
  92. {
  93. get
  94. {
  95. return SteamVR_Actions.p_default_HeadsetOnHead.GetCopy<SteamVR_Action_Boolean>();
  96. }
  97. }
  98. public static SteamVR_Action_Boolean default_SnapTurnLeft
  99. {
  100. get
  101. {
  102. return SteamVR_Actions.p_default_SnapTurnLeft.GetCopy<SteamVR_Action_Boolean>();
  103. }
  104. }
  105. public static SteamVR_Action_Boolean default_SnapTurnRight
  106. {
  107. get
  108. {
  109. return SteamVR_Actions.p_default_SnapTurnRight.GetCopy<SteamVR_Action_Boolean>();
  110. }
  111. }
  112. public static SteamVR_Action_Vibration default_Haptic
  113. {
  114. get
  115. {
  116. return SteamVR_Actions.p_default_Haptic.GetCopy<SteamVR_Action_Vibration>();
  117. }
  118. }
  119. public static SteamVR_Action_Vector2 platformer_Move
  120. {
  121. get
  122. {
  123. return SteamVR_Actions.p_platformer_Move.GetCopy<SteamVR_Action_Vector2>();
  124. }
  125. }
  126. public static SteamVR_Action_Boolean platformer_Jump
  127. {
  128. get
  129. {
  130. return SteamVR_Actions.p_platformer_Jump.GetCopy<SteamVR_Action_Boolean>();
  131. }
  132. }
  133. public static SteamVR_Action_Vector2 buggy_Steering
  134. {
  135. get
  136. {
  137. return SteamVR_Actions.p_buggy_Steering.GetCopy<SteamVR_Action_Vector2>();
  138. }
  139. }
  140. public static SteamVR_Action_Single buggy_Throttle
  141. {
  142. get
  143. {
  144. return SteamVR_Actions.p_buggy_Throttle.GetCopy<SteamVR_Action_Single>();
  145. }
  146. }
  147. public static SteamVR_Action_Boolean buggy_Brake
  148. {
  149. get
  150. {
  151. return SteamVR_Actions.p_buggy_Brake.GetCopy<SteamVR_Action_Boolean>();
  152. }
  153. }
  154. public static SteamVR_Action_Boolean buggy_Reset
  155. {
  156. get
  157. {
  158. return SteamVR_Actions.p_buggy_Reset.GetCopy<SteamVR_Action_Boolean>();
  159. }
  160. }
  161. public static SteamVR_Action_Pose mixedreality_ExternalCamera
  162. {
  163. get
  164. {
  165. return SteamVR_Actions.p_mixedreality_ExternalCamera.GetCopy<SteamVR_Action_Pose>();
  166. }
  167. }
  168. private static void InitializeActionArrays()
  169. {
  170. Valve.VR.SteamVR_Input.actions = new Valve.VR.SteamVR_Action[] {
  171. SteamVR_Actions.default_InteractUI,
  172. SteamVR_Actions.default_Teleport,
  173. SteamVR_Actions.default_GrabPinch,
  174. SteamVR_Actions.default_GrabGrip,
  175. SteamVR_Actions.default_Pose,
  176. SteamVR_Actions.default_SkeletonLeftHand,
  177. SteamVR_Actions.default_SkeletonRightHand,
  178. SteamVR_Actions.default_Squeeze,
  179. SteamVR_Actions.default_HeadsetOnHead,
  180. SteamVR_Actions.default_SnapTurnLeft,
  181. SteamVR_Actions.default_SnapTurnRight,
  182. SteamVR_Actions.default_Haptic,
  183. SteamVR_Actions.platformer_Move,
  184. SteamVR_Actions.platformer_Jump,
  185. SteamVR_Actions.buggy_Steering,
  186. SteamVR_Actions.buggy_Throttle,
  187. SteamVR_Actions.buggy_Brake,
  188. SteamVR_Actions.buggy_Reset,
  189. SteamVR_Actions.mixedreality_ExternalCamera};
  190. Valve.VR.SteamVR_Input.actionsIn = new Valve.VR.ISteamVR_Action_In[] {
  191. SteamVR_Actions.default_InteractUI,
  192. SteamVR_Actions.default_Teleport,
  193. SteamVR_Actions.default_GrabPinch,
  194. SteamVR_Actions.default_GrabGrip,
  195. SteamVR_Actions.default_Pose,
  196. SteamVR_Actions.default_SkeletonLeftHand,
  197. SteamVR_Actions.default_SkeletonRightHand,
  198. SteamVR_Actions.default_Squeeze,
  199. SteamVR_Actions.default_HeadsetOnHead,
  200. SteamVR_Actions.default_SnapTurnLeft,
  201. SteamVR_Actions.default_SnapTurnRight,
  202. SteamVR_Actions.platformer_Move,
  203. SteamVR_Actions.platformer_Jump,
  204. SteamVR_Actions.buggy_Steering,
  205. SteamVR_Actions.buggy_Throttle,
  206. SteamVR_Actions.buggy_Brake,
  207. SteamVR_Actions.buggy_Reset,
  208. SteamVR_Actions.mixedreality_ExternalCamera};
  209. Valve.VR.SteamVR_Input.actionsOut = new Valve.VR.ISteamVR_Action_Out[] {
  210. SteamVR_Actions.default_Haptic};
  211. Valve.VR.SteamVR_Input.actionsVibration = new Valve.VR.SteamVR_Action_Vibration[] {
  212. SteamVR_Actions.default_Haptic};
  213. Valve.VR.SteamVR_Input.actionsPose = new Valve.VR.SteamVR_Action_Pose[] {
  214. SteamVR_Actions.default_Pose,
  215. SteamVR_Actions.mixedreality_ExternalCamera};
  216. Valve.VR.SteamVR_Input.actionsBoolean = new Valve.VR.SteamVR_Action_Boolean[] {
  217. SteamVR_Actions.default_InteractUI,
  218. SteamVR_Actions.default_Teleport,
  219. SteamVR_Actions.default_GrabPinch,
  220. SteamVR_Actions.default_GrabGrip,
  221. SteamVR_Actions.default_HeadsetOnHead,
  222. SteamVR_Actions.default_SnapTurnLeft,
  223. SteamVR_Actions.default_SnapTurnRight,
  224. SteamVR_Actions.platformer_Jump,
  225. SteamVR_Actions.buggy_Brake,
  226. SteamVR_Actions.buggy_Reset};
  227. Valve.VR.SteamVR_Input.actionsSingle = new Valve.VR.SteamVR_Action_Single[] {
  228. SteamVR_Actions.default_Squeeze,
  229. SteamVR_Actions.buggy_Throttle};
  230. Valve.VR.SteamVR_Input.actionsVector2 = new Valve.VR.SteamVR_Action_Vector2[] {
  231. SteamVR_Actions.platformer_Move,
  232. SteamVR_Actions.buggy_Steering};
  233. Valve.VR.SteamVR_Input.actionsVector3 = new Valve.VR.SteamVR_Action_Vector3[0];
  234. Valve.VR.SteamVR_Input.actionsSkeleton = new Valve.VR.SteamVR_Action_Skeleton[] {
  235. SteamVR_Actions.default_SkeletonLeftHand,
  236. SteamVR_Actions.default_SkeletonRightHand};
  237. Valve.VR.SteamVR_Input.actionsNonPoseNonSkeletonIn = new Valve.VR.ISteamVR_Action_In[] {
  238. SteamVR_Actions.default_InteractUI,
  239. SteamVR_Actions.default_Teleport,
  240. SteamVR_Actions.default_GrabPinch,
  241. SteamVR_Actions.default_GrabGrip,
  242. SteamVR_Actions.default_Squeeze,
  243. SteamVR_Actions.default_HeadsetOnHead,
  244. SteamVR_Actions.default_SnapTurnLeft,
  245. SteamVR_Actions.default_SnapTurnRight,
  246. SteamVR_Actions.platformer_Move,
  247. SteamVR_Actions.platformer_Jump,
  248. SteamVR_Actions.buggy_Steering,
  249. SteamVR_Actions.buggy_Throttle,
  250. SteamVR_Actions.buggy_Brake,
  251. SteamVR_Actions.buggy_Reset};
  252. }
  253. private static void PreInitActions()
  254. {
  255. SteamVR_Actions.p_default_InteractUI = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/InteractUI")));
  256. SteamVR_Actions.p_default_Teleport = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/Teleport")));
  257. SteamVR_Actions.p_default_GrabPinch = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/GrabPinch")));
  258. SteamVR_Actions.p_default_GrabGrip = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
  259. SteamVR_Actions.p_default_Pose = ((SteamVR_Action_Pose)(SteamVR_Action.Create<SteamVR_Action_Pose>("/actions/default/in/Pose")));
  260. SteamVR_Actions.p_default_SkeletonLeftHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create<SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
  261. SteamVR_Actions.p_default_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create<SteamVR_Action_Skeleton>("/actions/default/in/SkeletonRightHand")));
  262. SteamVR_Actions.p_default_Squeeze = ((SteamVR_Action_Single)(SteamVR_Action.Create<SteamVR_Action_Single>("/actions/default/in/Squeeze")));
  263. SteamVR_Actions.p_default_HeadsetOnHead = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/HeadsetOnHead")));
  264. SteamVR_Actions.p_default_SnapTurnLeft = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/SnapTurnLeft")));
  265. SteamVR_Actions.p_default_SnapTurnRight = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/SnapTurnRight")));
  266. SteamVR_Actions.p_default_Haptic = ((SteamVR_Action_Vibration)(SteamVR_Action.Create<SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
  267. SteamVR_Actions.p_platformer_Move = ((SteamVR_Action_Vector2)(SteamVR_Action.Create<SteamVR_Action_Vector2>("/actions/platformer/in/Move")));
  268. SteamVR_Actions.p_platformer_Jump = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/platformer/in/Jump")));
  269. SteamVR_Actions.p_buggy_Steering = ((SteamVR_Action_Vector2)(SteamVR_Action.Create<SteamVR_Action_Vector2>("/actions/buggy/in/Steering")));
  270. SteamVR_Actions.p_buggy_Throttle = ((SteamVR_Action_Single)(SteamVR_Action.Create<SteamVR_Action_Single>("/actions/buggy/in/Throttle")));
  271. SteamVR_Actions.p_buggy_Brake = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/buggy/in/Brake")));
  272. SteamVR_Actions.p_buggy_Reset = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/buggy/in/Reset")));
  273. SteamVR_Actions.p_mixedreality_ExternalCamera = ((SteamVR_Action_Pose)(SteamVR_Action.Create<SteamVR_Action_Pose>("/actions/mixedreality/in/ExternalCamera")));
  274. }
  275. }
  276. }