553 lines
20 KiB
C#
553 lines
20 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
using UnityEngine.Events;
|
|
using Valve.VR;
|
|
|
|
namespace RecRoom.Inputs
|
|
{
|
|
// Token: 0x020024EB RID: 9451
|
|
[Token(Token = "0x20024EB")]
|
|
[Serializable]
|
|
public class SteamVrInputHandler : VRInputHandler
|
|
{
|
|
// Token: 0x0600F305 RID: 62213 RVA: 0x0037D904 File Offset: 0x0037BB04
|
|
[Token(Token = "0x600F305")]
|
|
[Address(RVA = "0xFBAA60", Offset = "0xFB9860", VA = "0x180FBAA60")]
|
|
private void OKENLMNKPAC()
|
|
{
|
|
this.inputConsumerMap.MOPNNFHKCFM();
|
|
AOLMGGAPKEH[] inputConsumerMaps = this.inputConsumerMaps;
|
|
int num = 0;
|
|
if (num < inputConsumerMaps.Length)
|
|
{
|
|
AOLMGGAPKEH aolmggapkeh = inputConsumerMaps[num];
|
|
if (aolmggapkeh != 0 && aolmggapkeh.CFLJGNJLBFG)
|
|
{
|
|
Dictionary<VRInputHandler.JCPMNKMJBBO, SteamVrInputHandler.DNGLJFEKEMI> controlToInputMap = this.ControlToInputMap;
|
|
OOEAAFIGGBA<VRInputHandler.JCPMNKMJBBO, SteamVrInputHandler.DNGLJFEKEMI> ooeaafiggba = this.inputConsumerMap;
|
|
SteamVrInputHandler.DNGLJFEKEMI dngljfekemi = controlToInputMap[num];
|
|
}
|
|
AOLMGGAPKEH[] inputConsumerMaps2 = this.inputConsumerMaps;
|
|
num++;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170027A2 RID: 10146
|
|
// (get) Token: 0x0600F306 RID: 62214 RVA: 0x0037D970 File Offset: 0x0037BB70
|
|
[Token(Token = "0x170027A2")]
|
|
protected SteamVR_Input_Sources SteamInputHandSource
|
|
{
|
|
[Token(Token = "0x600F306")]
|
|
[Address(RVA = "0xFBAEF0", Offset = "0xFB9CF0", VA = "0x180FBAEF0")]
|
|
get
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F307 RID: 62215 RVA: 0x0037D980 File Offset: 0x0037BB80
|
|
[Token(Token = "0x600F307")]
|
|
[Address(RVA = "0xFB9F70", Offset = "0xFB8D70", VA = "0x180FB9F70", Slot = "11")]
|
|
protected override void GCGIMANBGKD(ref VRInputHandler.EFAKPOCFMPC GKNIHNHGBKC)
|
|
{
|
|
VRTrackedController.PJJMKFHNMMM <HandType>k__BackingField = this.<HandType>k__BackingField;
|
|
int num = 0;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
this.inputConsumerMap.MOPNNFHKCFM();
|
|
AOLMGGAPKEH[] inputConsumerMaps = this.inputConsumerMaps;
|
|
if (num < inputConsumerMaps.Length)
|
|
{
|
|
AOLMGGAPKEH aolmggapkeh = inputConsumerMaps[num];
|
|
if (aolmggapkeh != 0 && aolmggapkeh.CFLJGNJLBFG)
|
|
{
|
|
Dictionary<VRInputHandler.JCPMNKMJBBO, SteamVrInputHandler.DNGLJFEKEMI> controlToInputMap = this.ControlToInputMap;
|
|
OOEAAFIGGBA<VRInputHandler.JCPMNKMJBBO, SteamVrInputHandler.DNGLJFEKEMI> ooeaafiggba = this.inputConsumerMap;
|
|
SteamVrInputHandler.DNGLJFEKEMI dngljfekemi = controlToInputMap[num];
|
|
}
|
|
AOLMGGAPKEH[] inputConsumerMaps2 = this.inputConsumerMaps;
|
|
num++;
|
|
}
|
|
SteamVR_Action_Boolean menuButtonAction = this.MenuButtonAction;
|
|
GKNIHNHGBKC.BDDMHHDKLHE = menuButtonAction;
|
|
bool flag2;
|
|
GKNIHNHGBKC.BDDMHHDKLHE.GPGHKKMCFIF = flag2;
|
|
bool keyInt = Input.GetKeyInt(KeyCode.Escape);
|
|
bool keyDownInt = Input.GetKeyDownInt(KeyCode.Escape);
|
|
bool keyUpInt = Input.GetKeyUpInt(KeyCode.Escape);
|
|
GKNIHNHGBKC.DBENDMALBBK = 27;
|
|
GKNIHNHGBKC.DBENDMALBBK.GPGHKKMCFIF = keyUpInt;
|
|
SteamVR_Action_Boolean teleportButtonAction = this.TeleportButtonAction;
|
|
GKNIHNHGBKC.KJDKBHKNHPD = teleportButtonAction;
|
|
bool flag3;
|
|
GKNIHNHGBKC.KJDKBHKNHPD.GPGHKKMCFIF = flag3;
|
|
Axis2DSettings rotateAxisSettings = this.RotateAxisSettings;
|
|
Axis2DSettings scrollAxisSettings = this.ScrollAxisSettings;
|
|
Axis2DSettings walkAxisSettings = this.WalkAxisSettings;
|
|
SteamVR_Action_Boolean sprintButtonAction = this.SprintButtonAction;
|
|
GKNIHNHGBKC.EHKHLEFKJND = sprintButtonAction;
|
|
bool flag4;
|
|
GKNIHNHGBKC.EHKHLEFKJND.GPGHKKMCFIF = flag4;
|
|
SteamVR_Action_Boolean slideButtonAction = this.SlideButtonAction;
|
|
GKNIHNHGBKC.KCEKNHAKHGA = slideButtonAction;
|
|
bool flag5;
|
|
GKNIHNHGBKC.KCEKNHAKHGA.GPGHKKMCFIF = flag5;
|
|
AxisPressButtons rotateAxisPressButtons = this.RotateAxisPressButtons;
|
|
float rotateAxisDeadZone = this.RotateAxisDeadZone;
|
|
string text = rotateAxisPressButtons.ToString();
|
|
FDKPONPCGGC fdkponpcggc;
|
|
bool gpghkkmcfif = fdkponpcggc.GPGHKKMCFIF;
|
|
GKNIHNHGBKC.ALFHDHKHNHH.GPGHKKMCFIF = gpghkkmcfif;
|
|
FDKPONPCGGC fdkponpcggc2;
|
|
bool gpghkkmcfif2 = fdkponpcggc2.GPGHKKMCFIF;
|
|
GKNIHNHGBKC.JOOMEAKJBIJ.GPGHKKMCFIF = gpghkkmcfif2;
|
|
FDKPONPCGGC fdkponpcggc3;
|
|
bool gpghkkmcfif3 = fdkponpcggc3.GPGHKKMCFIF;
|
|
GKNIHNHGBKC.PKLBADMDPMA.GPGHKKMCFIF = gpghkkmcfif3;
|
|
SteamVR_Action_Boolean pushToTalkButtonAction = this.PushToTalkButtonAction;
|
|
GKNIHNHGBKC.LGFOEBJPDKA = pushToTalkButtonAction;
|
|
bool flag6;
|
|
GKNIHNHGBKC.LGFOEBJPDKA.GPGHKKMCFIF = flag6;
|
|
SteamVR_Action_Boolean gripTurnButtonAction = this.GripTurnButtonAction;
|
|
GKNIHNHGBKC.MLHDMEMGHEO = gripTurnButtonAction;
|
|
bool flag7;
|
|
GKNIHNHGBKC.MLHDMEMGHEO.GPGHKKMCFIF = flag7;
|
|
SteamVR_Action_Boolean selfScaleButtonAction = this.SelfScaleButtonAction;
|
|
GKNIHNHGBKC.GODIAMIEPJG = selfScaleButtonAction;
|
|
bool flag8;
|
|
GKNIHNHGBKC.GODIAMIEPJG.GPGHKKMCFIF = flag8;
|
|
SteamVR_Action_Single pickupAxisAction = this.PickupAxisAction;
|
|
int num2 = 0;
|
|
SteamVR_Action_Single capacitiveGripPickupAxisAction = this.CapacitiveGripPickupAxisAction;
|
|
float num3;
|
|
GKNIHNHGBKC.IAJFIAEDNFP = num3;
|
|
GKNIHNHGBKC.IAJFIAEDNFP.JIBLKPMDPOF = (float)num;
|
|
SteamVR_Action_Single handOpenCloseAxisAction = this.HandOpenCloseAxisAction;
|
|
float num4;
|
|
GKNIHNHGBKC.BDLBPMGCPEE = num4;
|
|
GKNIHNHGBKC.BDLBPMGCPEE.JIBLKPMDPOF = (float)num;
|
|
Axis2DSettings smoothSwipeRotateAxisSettings = this.SmoothSwipeRotateAxisSettings;
|
|
GKNIHNHGBKC.EJAJMANMAFG = num4;
|
|
GKNIHNHGBKC.EJAJMANMAFG.y = (float)num2;
|
|
SteamVR_Action_Single triggerAxisAction = this.TriggerAxisAction;
|
|
float num5;
|
|
GKNIHNHGBKC.LOKMOOGCDHI = num5;
|
|
GKNIHNHGBKC.LOKMOOGCDHI.JIBLKPMDPOF = (float)num;
|
|
SteamVR_Action_Boolean selfScaleButtonAction2 = this.SelfScaleButtonAction;
|
|
GKNIHNHGBKC.HMPJMBEFGMM = selfScaleButtonAction2;
|
|
bool flag9;
|
|
GKNIHNHGBKC.HMPJMBEFGMM.GPGHKKMCFIF = flag9;
|
|
SteamVR_Action_Single triggerAxisAction2 = this.TriggerAxisAction;
|
|
DeprecatedAxisSettings triggerSettings = this.TriggerSettings;
|
|
float num7;
|
|
float num6 = DeprecatedAxisSettings.DAPOOKKDMKB(num7, triggerSettings);
|
|
GKNIHNHGBKC.PHIKDNMBFDL = num6;
|
|
SteamVR_Action_Boolean thumbDownButtonAction = this.ThumbDownButtonAction;
|
|
GKNIHNHGBKC.KPLKGCOOOJP = thumbDownButtonAction;
|
|
bool flag10;
|
|
GKNIHNHGBKC.KPLKGCOOOJP.GPGHKKMCFIF = flag10;
|
|
SteamVR_Action_Single triggerAxisAction3 = this.TriggerAxisAction;
|
|
float num8;
|
|
GKNIHNHGBKC.MMIGCAIKDOB = num8;
|
|
GKNIHNHGBKC.MMIGCAIKDOB.JIBLKPMDPOF = (float)num;
|
|
Axis2DSettings rotateAxisSettings2 = this.RotateAxisSettings;
|
|
GKNIHNHGBKC.JBKKAKDEGHJ = num8;
|
|
GKNIHNHGBKC.JBKKAKDEGHJ.y = (float)num2;
|
|
SteamVR_Action_Boolean gripTurnButtonAction2 = this.GripTurnButtonAction;
|
|
GKNIHNHGBKC.BIOLPKIKBMN = gripTurnButtonAction2;
|
|
bool flag11;
|
|
GKNIHNHGBKC.BIOLPKIKBMN.GPGHKKMCFIF = flag11;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F308 RID: 62216 RVA: 0x0037DC9C File Offset: 0x0037BE9C
|
|
[Token(Token = "0x600F308")]
|
|
[Address(RVA = "0xFBAB60", Offset = "0xFB9960", VA = "0x180FBAB60", Slot = "7")]
|
|
public override void OPIJJOOOLBN()
|
|
{
|
|
SteamVR_Events.Action action = this.newPosesAction;
|
|
this.<IsConnected>k__BackingField = true;
|
|
if (action == 0)
|
|
{
|
|
SteamVR_Events.Action action2 = SteamVR_Events.NewPosesAction(new UnityAction(this.BOLCFDBLCHF));
|
|
this.newPosesAction = action2;
|
|
}
|
|
action.enabled = true;
|
|
}
|
|
|
|
// Token: 0x0600F309 RID: 62217 RVA: 0x0037DCE4 File Offset: 0x0037BEE4
|
|
[Token(Token = "0x600F309")]
|
|
[Address(RVA = "0xFB9960", Offset = "0xFB8760", VA = "0x180FB9960", Slot = "8")]
|
|
public override void BCGEIPOPAME()
|
|
{
|
|
SteamVR_Events.Action action = this.newPosesAction;
|
|
if (action != 0)
|
|
{
|
|
int num = 0;
|
|
action.enabled = num != 0;
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F30A RID: 62218 RVA: 0x0037DD08 File Offset: 0x0037BF08
|
|
[Token(Token = "0x600F30A")]
|
|
[Address(RVA = "0xFBA960", Offset = "0xFB9760", VA = "0x180FBA960")]
|
|
protected bool MCLCFNDHLAI(out uint EFBDCIJMFGD)
|
|
{
|
|
return SteamPlatformManager.TryGetSteamVRDeviceIndex(this.<HandType>k__BackingField, out EFBDCIJMFGD);
|
|
}
|
|
|
|
// Token: 0x0600F30B RID: 62219 RVA: 0x0037DD24 File Offset: 0x0037BF24
|
|
[Token(Token = "0x600F30B")]
|
|
[Address(RVA = "0xFBA970", Offset = "0xFB9770", VA = "0x180FBA970", Slot = "9")]
|
|
protected override void OAPPNDCDEJC(float LAIPKAHGIJF, bool OBDMPHDGBLG)
|
|
{
|
|
VRTrackedController.PJJMKFHNMMM <HandType>k__BackingField = this.<HandType>k__BackingField;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
float num = Mathf.Lerp((float)0, 320f, LAIPKAHGIJF);
|
|
float deltaTime = Time.deltaTime;
|
|
SteamVR_Action_Vibration steamVR_Action_Vibration = this.haptics;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F30C RID: 62220 RVA: 0x0037DD64 File Offset: 0x0037BF64
|
|
[Token(Token = "0x600F30C")]
|
|
[Address(RVA = "0xFB9980", Offset = "0xFB8780", VA = "0x180FB9980")]
|
|
private void BOLCFDBLCHF(TrackedDevicePose_t[] PHBONJJOAFE)
|
|
{
|
|
VRTrackedController.PJJMKFHNMMM <HandType>k__BackingField = this.<HandType>k__BackingField;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
int length = PHBONJJOAFE.Length;
|
|
if (<HandType>k__BackingField < (VRTrackedController.PJJMKFHNMMM)length)
|
|
{
|
|
flag += flag;
|
|
this.<IsConnected>k__BackingField = length != 0;
|
|
flag += flag;
|
|
this.<IsTracking>k__BackingField = flag;
|
|
if (length == 0)
|
|
{
|
|
return;
|
|
}
|
|
flag += flag;
|
|
Transform rawTrackerTransform = this.rawTrackerTransform;
|
|
Transform rawTrackerTransform2 = this.rawTrackerTransform;
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
Transform rawTrackerTransform3 = this.rawTrackerTransform;
|
|
Vector3 vector2;
|
|
float z2 = vector2.z;
|
|
Transform parent = rawTrackerTransform3.parent;
|
|
Vector3 vector3;
|
|
float z3 = vector3.z;
|
|
Vector3 vector4;
|
|
float z4 = vector4.z;
|
|
Transform parent2 = this.rawTrackerTransform.parent;
|
|
Vector3 vector5;
|
|
float z5 = vector5.z;
|
|
Vector3 vector6;
|
|
float z6 = vector6.z;
|
|
base.FOOPBDPACBJ();
|
|
}
|
|
}
|
|
this.<IsConnected>k__BackingField = false;
|
|
}
|
|
|
|
// Token: 0x0600F30D RID: 62221 RVA: 0x0037DE24 File Offset: 0x0037C024
|
|
[Token(Token = "0x600F30D")]
|
|
[Address(RVA = "0xFB9EF0", Offset = "0xFB8CF0", VA = "0x180FB9EF0")]
|
|
protected FDKPONPCGGC FMHEGIEIELE(SteamVR_Action_Boolean DNGKIAJLLHG, SteamVR_Input_Sources FCELFDANLGL)
|
|
{
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600F30E RID: 62222 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600F30E")]
|
|
[Address(RVA = "0xFBA790", Offset = "0xFB9590", VA = "0x180FBA790")]
|
|
private FDKPONPCGGC HKEJGFEFHIJ(KeyCode DNGKIAJLLHG)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600F30F RID: 62223 RVA: 0x0037DE38 File Offset: 0x0037C038
|
|
[Token(Token = "0x600F30F")]
|
|
[Address(RVA = "0xFB9E00", Offset = "0xFB8C00", VA = "0x180FB9E00")]
|
|
protected FDKPONPCGGC FMHEGIEIELE(SteamVR_Action_Boolean[] NILPPGBINOL, SteamVR_Input_Sources FCELFDANLGL)
|
|
{
|
|
int num = 0;
|
|
num++;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600F310 RID: 62224 RVA: 0x0037DE54 File Offset: 0x0037C054
|
|
[Token(Token = "0x600F310")]
|
|
[Address(RVA = "0xFBA920", Offset = "0xFB9720", VA = "0x180FBA920")]
|
|
protected MOIPDBJEBEL ICHCINMFFBD(SteamVR_Action_Single DNGKIAJLLHG, SteamVR_Input_Sources FCELFDANLGL, float GPOEMOLPOMI = 0f)
|
|
{
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600F311 RID: 62225 RVA: 0x0037DE68 File Offset: 0x0037C068
|
|
[Token(Token = "0x600F311")]
|
|
[Address(RVA = "0xFBA7E0", Offset = "0xFB95E0", VA = "0x180FBA7E0")]
|
|
protected MOIPDBJEBEL ICHCINMFFBD(SteamVR_Action_Single[] NILPPGBINOL, SteamVR_Input_Sources FCELFDANLGL, float GPOEMOLPOMI = 0f)
|
|
{
|
|
int num = 0;
|
|
int length = NILPPGBINOL.Length;
|
|
if (num < length)
|
|
{
|
|
SteamVR_Action_Single steamVR_Action_Single = NILPPGBINOL[num];
|
|
num++;
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600F312 RID: 62226 RVA: 0x0037DE98 File Offset: 0x0037C098
|
|
[Token(Token = "0x600F312")]
|
|
[Address(RVA = "0xFB9D30", Offset = "0xFB8B30", VA = "0x180FB9D30")]
|
|
protected Vector2 FDIELKFPCAB(VRInputHandler.JCPMNKMJBBO NJDKPFFBCOM, SteamVrInputHandler.DNGLJFEKEMI KJNDMFLHLIJ, SteamVR_Action_Vector2 DNGKIAJLLHG, SteamVR_Input_Sources FCELFDANLGL, Axis2DSettings GMDDKJKDHMD)
|
|
{
|
|
OOEAAFIGGBA<VRInputHandler.JCPMNKMJBBO, SteamVrInputHandler.DNGLJFEKEMI> ooeaafiggba = this.inputConsumerMap;
|
|
bool flag;
|
|
if (!flag)
|
|
{
|
|
Vector2 vector;
|
|
return vector;
|
|
}
|
|
Vector2 zero = Vector2.zero;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600F313 RID: 62227 RVA: 0x0037DEC4 File Offset: 0x0037C0C4
|
|
[Token(Token = "0x600F313")]
|
|
[Address(RVA = "0xFBAC20", Offset = "0xFB9A20", VA = "0x180FBAC20")]
|
|
public SteamVrInputHandler()
|
|
{
|
|
AxisPressButtons default_DPadAxisPressButtons = AxisPressButtons.Default_DPadAxisPressButtons;
|
|
this.RotateAxisPressButtons = default_DPadAxisPressButtons;
|
|
this.ControlToInputMap = new Dictionary
|
|
{
|
|
{
|
|
(uint)1,
|
|
(uint)1
|
|
},
|
|
{
|
|
(uint)4,
|
|
(uint)1
|
|
}
|
|
};
|
|
OOEAAFIGGBA<VRInputHandler.JCPMNKMJBBO, SteamVrInputHandler.DNGLJFEKEMI> ooeaafiggba = new OOEAAFIGGBA(5);
|
|
this.inputConsumerMap = ooeaafiggba;
|
|
int num = 0;
|
|
SteamVR_Action_Boolean booleanAction = SteamVR_Input.GetBooleanAction("Menu", num != 0);
|
|
this.MenuButtonAction = booleanAction;
|
|
int num2 = 0;
|
|
SteamVR_Action_Boolean booleanAction2 = SteamVR_Input.GetBooleanAction("Teleport", num2 != 0);
|
|
this.TeleportButtonAction = booleanAction2;
|
|
int num3 = 0;
|
|
SteamVR_Action_Boolean booleanAction3 = SteamVR_Input.GetBooleanAction("Sprint", num3 != 0);
|
|
this.SprintButtonAction = booleanAction3;
|
|
int num4 = 0;
|
|
SteamVR_Action_Boolean booleanAction4 = SteamVR_Input.GetBooleanAction("Slide", num4 != 0);
|
|
this.SlideButtonAction = booleanAction4;
|
|
int num5 = 0;
|
|
SteamVR_Action_Boolean booleanAction5 = SteamVR_Input.GetBooleanAction("PushToTalk", num5 != 0);
|
|
this.PushToTalkButtonAction = booleanAction5;
|
|
int num6 = 0;
|
|
SteamVR_Action_Boolean booleanAction6 = SteamVR_Input.GetBooleanAction("SelfScale", num6 != 0);
|
|
this.SelfScaleButtonAction = booleanAction6;
|
|
int num7 = 0;
|
|
SteamVR_Action_Boolean booleanAction7 = SteamVR_Input.GetBooleanAction("SmoothRotate", num7 != 0);
|
|
this.GripTurnButtonAction = booleanAction7;
|
|
int num8 = 0;
|
|
SteamVR_Action_Boolean booleanAction8 = SteamVR_Input.GetBooleanAction("ThumbDown", num8 != 0);
|
|
this.ThumbDownButtonAction = booleanAction8;
|
|
int num9 = 0;
|
|
SteamVR_Action_Single singleAction = SteamVR_Input.GetSingleAction("Trigger", num9 != 0);
|
|
this.TriggerAxisAction = singleAction;
|
|
int num10 = 0;
|
|
SteamVR_Action_Single singleAction2 = SteamVR_Input.GetSingleAction("Pickup", num10 != 0);
|
|
this.PickupAxisAction = singleAction2;
|
|
int num11 = 0;
|
|
SteamVR_Action_Single singleAction3 = SteamVR_Input.GetSingleAction("CapacitivePickup", num11 != 0);
|
|
this.CapacitiveGripPickupAxisAction = singleAction3;
|
|
int num12 = 0;
|
|
SteamVR_Action_Single singleAction4 = SteamVR_Input.GetSingleAction("Handopenclose", num12 != 0);
|
|
this.HandOpenCloseAxisAction = singleAction4;
|
|
int num13 = 0;
|
|
SteamVR_Action_Vector2 vector2Action = SteamVR_Input.GetVector2Action("Walk", num13 != 0);
|
|
this.WalkAxisAction = vector2Action;
|
|
int num14 = 0;
|
|
SteamVR_Action_Vector2 vector2Action2 = SteamVR_Input.GetVector2Action("Rotate", num14 != 0);
|
|
this.RotateAxisAction = vector2Action2;
|
|
int num15 = 0;
|
|
SteamVR_Action_Vector2 vector2Action3 = SteamVR_Input.GetVector2Action("Rotate", num15 != 0);
|
|
this.SmoothRotateAxisAction = vector2Action3;
|
|
int num16 = 0;
|
|
SteamVR_Action_Vector2 vector2Action4 = SteamVR_Input.GetVector2Action("Scroll", num16 != 0);
|
|
this.ScrollAxisAction = vector2Action4;
|
|
int num17 = 0;
|
|
SteamVR_Action_Vibration vibrationAction = SteamVR_Input.GetVibrationAction("MainHaptic", num17 != 0);
|
|
this.haptics = vibrationAction;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x0400A1E0 RID: 41440
|
|
[FieldOffset(Offset = "0x1D0")]
|
|
[Token(Token = "0x400A1E0")]
|
|
[Header("Sticks")]
|
|
public Axis2DSettings WalkAxisSettings;
|
|
|
|
// Token: 0x0400A1E1 RID: 41441
|
|
[FieldOffset(Offset = "0x1D8")]
|
|
[Token(Token = "0x400A1E1")]
|
|
public Axis2DSettings RotateAxisSettings;
|
|
|
|
// Token: 0x0400A1E2 RID: 41442
|
|
[FieldOffset(Offset = "0x1E0")]
|
|
[Token(Token = "0x400A1E2")]
|
|
public float RotateAxisDeadZone = 0.7f;
|
|
|
|
// Token: 0x0400A1E3 RID: 41443
|
|
[FieldOffset(Offset = "0x1E8")]
|
|
[Token(Token = "0x400A1E3")]
|
|
public AxisPressButtons RotateAxisPressButtons;
|
|
|
|
// Token: 0x0400A1E4 RID: 41444
|
|
[FieldOffset(Offset = "0x1F0")]
|
|
[Token(Token = "0x400A1E4")]
|
|
public Axis2DSettings SmoothSwipeRotateAxisSettings;
|
|
|
|
// Token: 0x0400A1E5 RID: 41445
|
|
[FieldOffset(Offset = "0x1F8")]
|
|
[Token(Token = "0x400A1E5")]
|
|
public Axis2DSettings ScrollAxisSettings;
|
|
|
|
// Token: 0x0400A1E6 RID: 41446
|
|
[FieldOffset(Offset = "0x200")]
|
|
[Token(Token = "0x400A1E6")]
|
|
[Header("Triggers")]
|
|
public DeprecatedAxisSettings TriggerSettings;
|
|
|
|
// Token: 0x0400A1E7 RID: 41447
|
|
[FieldOffset(Offset = "0x208")]
|
|
[Token(Token = "0x400A1E7")]
|
|
private readonly Dictionary<VRInputHandler.JCPMNKMJBBO, SteamVrInputHandler.DNGLJFEKEMI> ControlToInputMap;
|
|
|
|
// Token: 0x0400A1E8 RID: 41448
|
|
[FieldOffset(Offset = "0x210")]
|
|
[Token(Token = "0x400A1E8")]
|
|
private readonly OOEAAFIGGBA<VRInputHandler.JCPMNKMJBBO, SteamVrInputHandler.DNGLJFEKEMI> inputConsumerMap;
|
|
|
|
// Token: 0x0400A1E9 RID: 41449
|
|
[FieldOffset(Offset = "0x218")]
|
|
[Token(Token = "0x400A1E9")]
|
|
protected SteamVR_Events.Action newPosesAction;
|
|
|
|
// Token: 0x0400A1EA RID: 41450
|
|
[FieldOffset(Offset = "0x220")]
|
|
[Token(Token = "0x400A1EA")]
|
|
protected SteamVR_Action_Boolean MenuButtonAction;
|
|
|
|
// Token: 0x0400A1EB RID: 41451
|
|
[FieldOffset(Offset = "0x228")]
|
|
[Token(Token = "0x400A1EB")]
|
|
protected SteamVR_Action_Boolean TeleportButtonAction;
|
|
|
|
// Token: 0x0400A1EC RID: 41452
|
|
[FieldOffset(Offset = "0x230")]
|
|
[Token(Token = "0x400A1EC")]
|
|
protected SteamVR_Action_Boolean SprintButtonAction;
|
|
|
|
// Token: 0x0400A1ED RID: 41453
|
|
[FieldOffset(Offset = "0x238")]
|
|
[Token(Token = "0x400A1ED")]
|
|
protected SteamVR_Action_Boolean SlideButtonAction;
|
|
|
|
// Token: 0x0400A1EE RID: 41454
|
|
[FieldOffset(Offset = "0x240")]
|
|
[Token(Token = "0x400A1EE")]
|
|
protected SteamVR_Action_Boolean PushToTalkButtonAction;
|
|
|
|
// Token: 0x0400A1EF RID: 41455
|
|
[FieldOffset(Offset = "0x248")]
|
|
[Token(Token = "0x400A1EF")]
|
|
protected SteamVR_Action_Boolean SelfScaleButtonAction;
|
|
|
|
// Token: 0x0400A1F0 RID: 41456
|
|
[FieldOffset(Offset = "0x250")]
|
|
[Token(Token = "0x400A1F0")]
|
|
protected SteamVR_Action_Boolean GripTurnButtonAction;
|
|
|
|
// Token: 0x0400A1F1 RID: 41457
|
|
[FieldOffset(Offset = "0x258")]
|
|
[Token(Token = "0x400A1F1")]
|
|
protected SteamVR_Action_Boolean ThumbDownButtonAction;
|
|
|
|
// Token: 0x0400A1F2 RID: 41458
|
|
[FieldOffset(Offset = "0x260")]
|
|
[Token(Token = "0x400A1F2")]
|
|
protected SteamVR_Action_Single TriggerAxisAction;
|
|
|
|
// Token: 0x0400A1F3 RID: 41459
|
|
[FieldOffset(Offset = "0x268")]
|
|
[Token(Token = "0x400A1F3")]
|
|
protected SteamVR_Action_Single PickupAxisAction;
|
|
|
|
// Token: 0x0400A1F4 RID: 41460
|
|
[FieldOffset(Offset = "0x270")]
|
|
[Token(Token = "0x400A1F4")]
|
|
protected SteamVR_Action_Single CapacitiveGripPickupAxisAction;
|
|
|
|
// Token: 0x0400A1F5 RID: 41461
|
|
[FieldOffset(Offset = "0x278")]
|
|
[Token(Token = "0x400A1F5")]
|
|
protected SteamVR_Action_Single HandOpenCloseAxisAction;
|
|
|
|
// Token: 0x0400A1F6 RID: 41462
|
|
[FieldOffset(Offset = "0x280")]
|
|
[Token(Token = "0x400A1F6")]
|
|
protected SteamVR_Action_Vector2 WalkAxisAction;
|
|
|
|
// Token: 0x0400A1F7 RID: 41463
|
|
[FieldOffset(Offset = "0x288")]
|
|
[Token(Token = "0x400A1F7")]
|
|
protected SteamVR_Action_Vector2 RotateAxisAction;
|
|
|
|
// Token: 0x0400A1F8 RID: 41464
|
|
[FieldOffset(Offset = "0x290")]
|
|
[Token(Token = "0x400A1F8")]
|
|
protected SteamVR_Action_Vector2 SmoothRotateAxisAction;
|
|
|
|
// Token: 0x0400A1F9 RID: 41465
|
|
[FieldOffset(Offset = "0x298")]
|
|
[Token(Token = "0x400A1F9")]
|
|
protected SteamVR_Action_Vector2 ScrollAxisAction;
|
|
|
|
// Token: 0x0400A1FA RID: 41466
|
|
[FieldOffset(Offset = "0x2A0")]
|
|
[Token(Token = "0x400A1FA")]
|
|
protected SteamVR_Action_Vibration haptics;
|
|
|
|
// Token: 0x020024EC RID: 9452
|
|
[Token(Token = "0x20024EC")]
|
|
public enum DNGLJFEKEMI
|
|
{
|
|
// Token: 0x0400A1FC RID: 41468
|
|
[Token(Token = "0x400A1FC")]
|
|
None,
|
|
// Token: 0x0400A1FD RID: 41469
|
|
[Token(Token = "0x400A1FD")]
|
|
Stick,
|
|
// Token: 0x0400A1FE RID: 41470
|
|
[Token(Token = "0x400A1FE")]
|
|
COUNT
|
|
}
|
|
}
|
|
}
|