SteamVR_Input_Actions.cs
12.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Valve.VR
{
using System;
using UnityEngine;
public partial class SteamVR_Actions
{
private static SteamVR_Action_Boolean p_default_Teleport;
private static SteamVR_Action_Boolean p_default_GrabPinch;
private static SteamVR_Action_Boolean p_default_Grab;
private static SteamVR_Action_Pose p_default_SkeletonLeftHand;
private static SteamVR_Action_Pose p_default_SkeletonRightHand;
private static SteamVR_Action_Single p_default_Squeeze;
private static SteamVR_Action_Boolean p_default_TouchPad;
private static SteamVR_Action_Vector2 p_default_TouchPosition;
private static SteamVR_Action_Vibration p_default_Haptic;
private static SteamVR_Action_Vibration p_default_NewAction;
private static SteamVR_Action_Vector2 p_platformer_Move;
private static SteamVR_Action_Boolean p_platformer_Jump;
private static SteamVR_Action_Vector2 p_buggy_Steering;
private static SteamVR_Action_Single p_buggy_Throttle;
private static SteamVR_Action_Boolean p_buggy_Brake;
private static SteamVR_Action_Boolean p_buggy_Reset;
private static SteamVR_Action_Pose p_mixedreality_ExternalCamera;
public static SteamVR_Action_Boolean default_Teleport
{
get
{
return SteamVR_Actions.p_default_Teleport.GetCopy<SteamVR_Action_Boolean>();
}
}
public static SteamVR_Action_Boolean default_GrabPinch
{
get
{
return SteamVR_Actions.p_default_GrabPinch.GetCopy<SteamVR_Action_Boolean>();
}
}
public static SteamVR_Action_Boolean default_Grab
{
get
{
return SteamVR_Actions.p_default_Grab.GetCopy<SteamVR_Action_Boolean>();
}
}
public static SteamVR_Action_Pose default_SkeletonLeftHand
{
get
{
return SteamVR_Actions.p_default_SkeletonLeftHand.GetCopy<SteamVR_Action_Pose>();
}
}
public static SteamVR_Action_Pose default_SkeletonRightHand
{
get
{
return SteamVR_Actions.p_default_SkeletonRightHand.GetCopy<SteamVR_Action_Pose>();
}
}
public static SteamVR_Action_Single default_Squeeze
{
get
{
return SteamVR_Actions.p_default_Squeeze.GetCopy<SteamVR_Action_Single>();
}
}
public static SteamVR_Action_Boolean default_TouchPad
{
get
{
return SteamVR_Actions.p_default_TouchPad.GetCopy<SteamVR_Action_Boolean>();
}
}
public static SteamVR_Action_Vector2 default_TouchPosition
{
get
{
return SteamVR_Actions.p_default_TouchPosition.GetCopy<SteamVR_Action_Vector2>();
}
}
public static SteamVR_Action_Vibration default_Haptic
{
get
{
return SteamVR_Actions.p_default_Haptic.GetCopy<SteamVR_Action_Vibration>();
}
}
public static SteamVR_Action_Vibration default_NewAction
{
get
{
return SteamVR_Actions.p_default_NewAction.GetCopy<SteamVR_Action_Vibration>();
}
}
public static SteamVR_Action_Vector2 platformer_Move
{
get
{
return SteamVR_Actions.p_platformer_Move.GetCopy<SteamVR_Action_Vector2>();
}
}
public static SteamVR_Action_Boolean platformer_Jump
{
get
{
return SteamVR_Actions.p_platformer_Jump.GetCopy<SteamVR_Action_Boolean>();
}
}
public static SteamVR_Action_Vector2 buggy_Steering
{
get
{
return SteamVR_Actions.p_buggy_Steering.GetCopy<SteamVR_Action_Vector2>();
}
}
public static SteamVR_Action_Single buggy_Throttle
{
get
{
return SteamVR_Actions.p_buggy_Throttle.GetCopy<SteamVR_Action_Single>();
}
}
public static SteamVR_Action_Boolean buggy_Brake
{
get
{
return SteamVR_Actions.p_buggy_Brake.GetCopy<SteamVR_Action_Boolean>();
}
}
public static SteamVR_Action_Boolean buggy_Reset
{
get
{
return SteamVR_Actions.p_buggy_Reset.GetCopy<SteamVR_Action_Boolean>();
}
}
public static SteamVR_Action_Pose mixedreality_ExternalCamera
{
get
{
return SteamVR_Actions.p_mixedreality_ExternalCamera.GetCopy<SteamVR_Action_Pose>();
}
}
private static void InitializeActionArrays()
{
Valve.VR.SteamVR_Input.actions = new Valve.VR.SteamVR_Action[] {
SteamVR_Actions.default_Teleport,
SteamVR_Actions.default_GrabPinch,
SteamVR_Actions.default_Grab,
SteamVR_Actions.default_SkeletonLeftHand,
SteamVR_Actions.default_SkeletonRightHand,
SteamVR_Actions.default_Squeeze,
SteamVR_Actions.default_TouchPad,
SteamVR_Actions.default_TouchPosition,
SteamVR_Actions.default_Haptic,
SteamVR_Actions.default_NewAction,
SteamVR_Actions.platformer_Move,
SteamVR_Actions.platformer_Jump,
SteamVR_Actions.buggy_Steering,
SteamVR_Actions.buggy_Throttle,
SteamVR_Actions.buggy_Brake,
SteamVR_Actions.buggy_Reset,
SteamVR_Actions.mixedreality_ExternalCamera};
Valve.VR.SteamVR_Input.actionsIn = new Valve.VR.ISteamVR_Action_In[] {
SteamVR_Actions.default_Teleport,
SteamVR_Actions.default_GrabPinch,
SteamVR_Actions.default_Grab,
SteamVR_Actions.default_SkeletonLeftHand,
SteamVR_Actions.default_SkeletonRightHand,
SteamVR_Actions.default_Squeeze,
SteamVR_Actions.default_TouchPad,
SteamVR_Actions.default_TouchPosition,
SteamVR_Actions.platformer_Move,
SteamVR_Actions.platformer_Jump,
SteamVR_Actions.buggy_Steering,
SteamVR_Actions.buggy_Throttle,
SteamVR_Actions.buggy_Brake,
SteamVR_Actions.buggy_Reset,
SteamVR_Actions.mixedreality_ExternalCamera};
Valve.VR.SteamVR_Input.actionsOut = new Valve.VR.ISteamVR_Action_Out[] {
SteamVR_Actions.default_Haptic,
SteamVR_Actions.default_NewAction};
Valve.VR.SteamVR_Input.actionsVibration = new Valve.VR.SteamVR_Action_Vibration[] {
SteamVR_Actions.default_Haptic,
SteamVR_Actions.default_NewAction};
Valve.VR.SteamVR_Input.actionsPose = new Valve.VR.SteamVR_Action_Pose[] {
SteamVR_Actions.default_SkeletonLeftHand,
SteamVR_Actions.default_SkeletonRightHand,
SteamVR_Actions.mixedreality_ExternalCamera};
Valve.VR.SteamVR_Input.actionsBoolean = new Valve.VR.SteamVR_Action_Boolean[] {
SteamVR_Actions.default_Teleport,
SteamVR_Actions.default_GrabPinch,
SteamVR_Actions.default_Grab,
SteamVR_Actions.default_TouchPad,
SteamVR_Actions.platformer_Jump,
SteamVR_Actions.buggy_Brake,
SteamVR_Actions.buggy_Reset};
Valve.VR.SteamVR_Input.actionsSingle = new Valve.VR.SteamVR_Action_Single[] {
SteamVR_Actions.default_Squeeze,
SteamVR_Actions.buggy_Throttle};
Valve.VR.SteamVR_Input.actionsVector2 = new Valve.VR.SteamVR_Action_Vector2[] {
SteamVR_Actions.default_TouchPosition,
SteamVR_Actions.platformer_Move,
SteamVR_Actions.buggy_Steering};
Valve.VR.SteamVR_Input.actionsVector3 = new Valve.VR.SteamVR_Action_Vector3[0];
Valve.VR.SteamVR_Input.actionsSkeleton = new Valve.VR.SteamVR_Action_Skeleton[0];
Valve.VR.SteamVR_Input.actionsNonPoseNonSkeletonIn = new Valve.VR.ISteamVR_Action_In[] {
SteamVR_Actions.default_Teleport,
SteamVR_Actions.default_GrabPinch,
SteamVR_Actions.default_Grab,
SteamVR_Actions.default_Squeeze,
SteamVR_Actions.default_TouchPad,
SteamVR_Actions.default_TouchPosition,
SteamVR_Actions.platformer_Move,
SteamVR_Actions.platformer_Jump,
SteamVR_Actions.buggy_Steering,
SteamVR_Actions.buggy_Throttle,
SteamVR_Actions.buggy_Brake,
SteamVR_Actions.buggy_Reset};
}
private static void PreInitActions()
{
SteamVR_Actions.p_default_Teleport = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/Teleport")));
SteamVR_Actions.p_default_GrabPinch = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/GrabPinch")));
SteamVR_Actions.p_default_Grab = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/Grab")));
SteamVR_Actions.p_default_SkeletonLeftHand = ((SteamVR_Action_Pose)(SteamVR_Action.Create<SteamVR_Action_Pose>("/actions/default/in/SkeletonLeftHand")));
SteamVR_Actions.p_default_SkeletonRightHand = ((SteamVR_Action_Pose)(SteamVR_Action.Create<SteamVR_Action_Pose>("/actions/default/in/SkeletonRightHand")));
SteamVR_Actions.p_default_Squeeze = ((SteamVR_Action_Single)(SteamVR_Action.Create<SteamVR_Action_Single>("/actions/default/in/Squeeze")));
SteamVR_Actions.p_default_TouchPad = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/default/in/TouchPad")));
SteamVR_Actions.p_default_TouchPosition = ((SteamVR_Action_Vector2)(SteamVR_Action.Create<SteamVR_Action_Vector2>("/actions/default/in/TouchPosition")));
SteamVR_Actions.p_default_Haptic = ((SteamVR_Action_Vibration)(SteamVR_Action.Create<SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
SteamVR_Actions.p_default_NewAction = ((SteamVR_Action_Vibration)(SteamVR_Action.Create<SteamVR_Action_Vibration>("/actions/default/out/NewAction")));
SteamVR_Actions.p_platformer_Move = ((SteamVR_Action_Vector2)(SteamVR_Action.Create<SteamVR_Action_Vector2>("/actions/platformer/in/Move")));
SteamVR_Actions.p_platformer_Jump = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/platformer/in/Jump")));
SteamVR_Actions.p_buggy_Steering = ((SteamVR_Action_Vector2)(SteamVR_Action.Create<SteamVR_Action_Vector2>("/actions/buggy/in/Steering")));
SteamVR_Actions.p_buggy_Throttle = ((SteamVR_Action_Single)(SteamVR_Action.Create<SteamVR_Action_Single>("/actions/buggy/in/Throttle")));
SteamVR_Actions.p_buggy_Brake = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/buggy/in/Brake")));
SteamVR_Actions.p_buggy_Reset = ((SteamVR_Action_Boolean)(SteamVR_Action.Create<SteamVR_Action_Boolean>("/actions/buggy/in/Reset")));
SteamVR_Actions.p_mixedreality_ExternalCamera = ((SteamVR_Action_Pose)(SteamVR_Action.Create<SteamVR_Action_Pose>("/actions/mixedreality/in/ExternalCamera")));
}
}
}