SteamVR_Input_Actions.cs 21 KB

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