An analog action with a value generally from 0 to 1. Also provides a delta since the last update.
Inheritance: SteamVR_Action_In, ISteamVR_Action_Single, ISerializationCallbackReceiver
Exemple #1
0
    private void OnSingleUpdate(Valve.VR.SteamVR_Action_Single from, Valve.VR.SteamVR_Input_Sources inputSource, float axis, float delta)
    {
        mTimeSinceLast -= Time.deltaTime;
        Debug.DrawRay(Hand.transform.gameObject.transform.position, Hand.transform.gameObject.transform.forward, Color.blue);

        if (axis >= 0.5f && mTimeSinceLast <= 0.0f)
        {
            Renderer.material = SelectedMaterial;
            var e = Unity.Entities.World.Active.EntityManager.CreateEntity();
            Unity.Entities.World.Active.EntityManager.AddComponentData(e, new RayRequest {
                Value = new Unity.Physics.Ray {
                    Origin = Hand.transform.position, Displacement = Hand.transform.position + Hand.transform.forward * 100.0f
                }
            });
            mTimeSinceLast = 0.5f;
        }
        else
        {
            Renderer.material = DefaultMaterial;
        }

        if (Input.GetKeyUp(KeyCode.Space))
        {
            Globals.Instance.data.MeshParent.SetActive(!Globals.Instance.data.MeshParent.activeSelf);
            Globals.Instance.data.StaticParent.SetActive(!Globals.Instance.data.StaticParent.activeSelf);
        }
    }
        private void SteamVR_Behaviour_Single_OnUpdate(SteamVR_Action_Single fromAction, SteamVR_Input_Sources fromSource, float newAxis, float newDelta)
        {
            if (onUpdate != null)
            {
                onUpdate.Invoke(this, fromSource, newAxis, newDelta);
            }

            if (onUpdateEvent != null)
            {
                onUpdateEvent.Invoke(this, fromSource, newAxis, newDelta);
            }
        }
Exemple #3
0
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_Recalibrate         = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Recalibrate")));
     SteamVR_Actions.p_default_Haptic              = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
     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")));
 }
 private static void PreInitActions()
 {
     SteamVR_Actions.p_testCourse_Teleport          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/TestCourse/in/Teleport")));
     SteamVR_Actions.p_testCourse_GrabGrip          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/TestCourse/in/GrabGrip")));
     SteamVR_Actions.p_testCourse_Pose              = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/TestCourse/in/Pose")));
     SteamVR_Actions.p_testCourse_SkeletonLeftHand  = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/TestCourse/in/SkeletonLeftHand")));
     SteamVR_Actions.p_testCourse_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/TestCourse/in/SkeletonRightHand")));
     SteamVR_Actions.p_testCourse_Squeeze           = ((SteamVR_Action_Single)(SteamVR_Action.Create <SteamVR_Action_Single>("/actions/TestCourse/in/Squeeze")));
     SteamVR_Actions.p_testCourse_HeadsetOnHead     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/TestCourse/in/HeadsetOnHead")));
     SteamVR_Actions.p_testCourse_MenuLeft          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/TestCourse/in/MenuLeft")));
     SteamVR_Actions.p_testCourse_MenuRight         = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/TestCourse/in/MenuRight")));
     SteamVR_Actions.p_testCourse_Haptic            = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/TestCourse/out/Haptic")));
 }
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_InteractUI        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/InteractUI")));
     SteamVR_Actions.p_default_Teleport          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Teleport")));
     SteamVR_Actions.p_default_GunTrigger        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GunTrigger")));
     SteamVR_Actions.p_default_GrabGrip          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
     SteamVR_Actions.p_default_Pose              = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_SkeletonLeftHand  = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
     SteamVR_Actions.p_default_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/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_HeadsetOnHead     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/HeadsetOnHead")));
     SteamVR_Actions.p_default_Haptic            = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
 }
Exemple #6
0
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_InteractUI        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/InteractUI")));
     SteamVR_Actions.p_default_Teleport          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Teleport")));
     SteamVR_Actions.p_default_Grab              = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Grab")));
     SteamVR_Actions.p_default_Pose              = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_SkeletonLeftHand  = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
     SteamVR_Actions.p_default_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonRightHand")));
     SteamVR_Actions.p_default_Pinch             = ((SteamVR_Action_Single)(SteamVR_Action.Create <SteamVR_Action_Single>("/actions/default/in/Pinch")));
     SteamVR_Actions.p_default_HeadsetOnHead     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/HeadsetOnHead")));
     SteamVR_Actions.p_default_SnapTurnLeft      = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/SnapTurnLeft")));
     SteamVR_Actions.p_default_SnapTurnRight     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/SnapTurnRight")));
     SteamVR_Actions.p_default_Haptic            = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
 }
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_GrabGrip             = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
     SteamVR_Actions.p_default_Pose                 = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_SkeletonLeftHand     = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
     SteamVR_Actions.p_default_SkeletonRightHand    = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonRightHand")));
     SteamVR_Actions.p_default_PinchGrip            = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/PinchGrip")));
     SteamVR_Actions.p_default_Haptic               = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
     SteamVR_Actions.p_handPoseAssist_TrackpadTouch = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/HandPoseAssist/in/TrackpadTouch")));
     SteamVR_Actions.p_handPoseAssist_AButtonTouch  = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/HandPoseAssist/in/AButtonTouch")));
     SteamVR_Actions.p_handPoseAssist_BButtonTouch  = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/HandPoseAssist/in/BButtonTouch")));
     SteamVR_Actions.p_handPoseAssist_TriggerTouch  = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/HandPoseAssist/in/TriggerTouch")));
     SteamVR_Actions.p_handPoseAssist_TriggerPull   = ((SteamVR_Action_Single)(SteamVR_Action.Create <SteamVR_Action_Single>("/actions/HandPoseAssist/in/TriggerPull")));
 }
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_Menu              = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Menu")));
     SteamVR_Actions.p_default_TrackpadBtn       = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/TrackpadBtn")));
     SteamVR_Actions.p_default_TriggerBtn        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/TriggerBtn")));
     SteamVR_Actions.p_default_Grip              = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Grip")));
     SteamVR_Actions.p_default_Pose              = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_SkeletonLeftHand  = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
     SteamVR_Actions.p_default_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonRightHand")));
     SteamVR_Actions.p_default_TriggerAxis       = ((SteamVR_Action_Single)(SteamVR_Action.Create <SteamVR_Action_Single>("/actions/default/in/TriggerAxis")));
     SteamVR_Actions.p_default_HeadsetOnHead     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/HeadsetOnHead")));
     SteamVR_Actions.p_default_TrackpadAxis      = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/default/in/TrackpadAxis")));
     SteamVR_Actions.p_default_System            = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/System")));
     SteamVR_Actions.p_default_Haptic            = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
 }
 private static void PreInitActions()
 {
     SteamVR_Actions.p_logitechToolkit_PrimaryClick    = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/LogitechToolkit/in/PrimaryClick")));
     SteamVR_Actions.p_logitechToolkit_TipClick        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/LogitechToolkit/in/TipClick")));
     SteamVR_Actions.p_logitechToolkit_GripClick       = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/LogitechToolkit/in/GripClick")));
     SteamVR_Actions.p_logitechToolkit_MenuClick       = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/LogitechToolkit/in/MenuClick")));
     SteamVR_Actions.p_logitechToolkit_TrackpadTouch   = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/LogitechToolkit/in/TrackpadTouch")));
     SteamVR_Actions.p_logitechToolkit_TrackpadClick   = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/LogitechToolkit/in/TrackpadClick")));
     SteamVR_Actions.p_logitechToolkit_TrackpadValue   = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/LogitechToolkit/in/TrackpadValue")));
     SteamVR_Actions.p_logitechToolkit_PrimaryPressure = ((SteamVR_Action_Single)(SteamVR_Action.Create <SteamVR_Action_Single>("/actions/LogitechToolkit/in/PrimaryPressure")));
     SteamVR_Actions.p_logitechToolkit_TipPressure     = ((SteamVR_Action_Single)(SteamVR_Action.Create <SteamVR_Action_Single>("/actions/LogitechToolkit/in/TipPressure")));
     SteamVR_Actions.p_logitechToolkit_GripPressure    = ((SteamVR_Action_Single)(SteamVR_Action.Create <SteamVR_Action_Single>("/actions/LogitechToolkit/in/GripPressure")));
     SteamVR_Actions.p_logitechToolkit_Pose            = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/LogitechToolkit/in/Pose")));
     SteamVR_Actions.p_logitechToolkit_Haptics         = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/LogitechToolkit/out/Haptics")));
 }
Exemple #10
0
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_InteractUI        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/InteractUI")));
     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_GrabGrip          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
     SteamVR_Actions.p_default_Pose              = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_SkeletonLeftHand  = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
     SteamVR_Actions.p_default_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/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_HeadsetOnHead     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/HeadsetOnHead")));
     SteamVR_Actions.p_default_TrackPadTouchDown = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/TrackPadTouchDown")));
     SteamVR_Actions.p_default_TrackPadPosition  = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/default/in/TrackPadPosition")));
     SteamVR_Actions.p_default_Haptic            = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
 }
Exemple #11
0
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_InteractUI        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/InteractUI")));
     SteamVR_Actions.p_default_GrabPinch         = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabPinch")));
     SteamVR_Actions.p_default_GrabGrip          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
     SteamVR_Actions.p_default_Pose              = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_SkeletonLeftHand  = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
     SteamVR_Actions.p_default_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/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_HeadsetOnHead     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/HeadsetOnHead")));
     SteamVR_Actions.p_default_SnapTurnLeft      = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/SnapTurnLeft")));
     SteamVR_Actions.p_default_SnapTurnRight     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/SnapTurnRight")));
     SteamVR_Actions.p_default_MoveBody          = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/default/in/MoveBody")));
     SteamVR_Actions.p_default_Haptic            = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
 }
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_TriggerPress  = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/TriggerPress")));
     SteamVR_Actions.p_default_TrackPadPress = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/TrackPadPress")));
     SteamVR_Actions.p_default_GripPress     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GripPress")));
     SteamVR_Actions.p_default_MenuPress     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/MenuPress")));
     SteamVR_Actions.p_default_TrackPadPos   = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/default/in/TrackPadPos")));
     SteamVR_Actions.p_default_Pose          = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_Haptic        = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
     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")));
 }
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_InteractUI        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/InteractUI")));
     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_GrabGrip          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
     SteamVR_Actions.p_default_Pose              = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_SkeletonLeftHand  = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
     SteamVR_Actions.p_default_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/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_HeadsetOnHead     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/HeadsetOnHead")));
     SteamVR_Actions.p_default_SnapTurnLeft      = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/SnapTurnLeft")));
     SteamVR_Actions.p_default_SnapTurnRight     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/SnapTurnRight")));
     SteamVR_Actions.p_default_JOYSTICK          = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/default/in/JOYSTICK")));
     SteamVR_Actions.p_default_ColorButton       = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/ColorButton")));
 }
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_GrabPinch         = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabPinch")));
     SteamVR_Actions.p_default_GrabGrip          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
     SteamVR_Actions.p_default_Pose              = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_SkeletonLeftHand  = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
     SteamVR_Actions.p_default_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/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_HeadsetOnHead     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/HeadsetOnHead")));
     SteamVR_Actions.p_default_pause             = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/pause")));
     SteamVR_Actions.p_default_grab              = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/grab")));
     SteamVR_Actions.p_default_Haptic            = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
     SteamVR_Actions.p_ui_click   = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/ui/in/click")));
     SteamVR_Actions.p_ui_scroll  = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/ui/in/scroll")));
     SteamVR_Actions.p_ui_pointer = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/ui/in/pointer")));
 }
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_InteractUI         = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/InteractUI")));
     SteamVR_Actions.p_default_GrabPinch          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabPinch")));
     SteamVR_Actions.p_default_GrabGrip           = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
     SteamVR_Actions.p_default_Pose               = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_SkeletonLeftHand   = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
     SteamVR_Actions.p_default_SkeletonRightHand  = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/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_HeadsetOnHead      = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/HeadsetOnHead")));
     SteamVR_Actions.p_default_SelectOnWheel      = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/default/in/SelectOnWheel")));
     SteamVR_Actions.p_default_ValidateOnWheel    = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/ValidateOnWheel")));
     SteamVR_Actions.p_default_IsSelectingOnWheel = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/IsSelectingOnWheel")));
     SteamVR_Actions.p_default_Pause              = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Pause")));
     SteamVR_Actions.p_default_Haptic             = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
 }
Exemple #16
0
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_InteractUI          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/InteractUI")));
     SteamVR_Actions.p_default_GrabPinch           = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabPinch")));
     SteamVR_Actions.p_default_GrabGrip            = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
     SteamVR_Actions.p_default_Pose                = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_SkeletonLeftHand    = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
     SteamVR_Actions.p_default_SkeletonRightHand   = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/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_HeadsetOnHead       = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/HeadsetOnHead")));
     SteamVR_Actions.p_default_Haptic              = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
     SteamVR_Actions.p_mixedreality_ExternalCamera = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/mixedreality/in/ExternalCamera")));
     SteamVR_Actions.p_rightJoystick_Shoot         = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/RightJoystick/in/Shoot")));
     SteamVR_Actions.p_rightJoystick_Lock          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/RightJoystick/in/Lock")));
     SteamVR_Actions.p_leftJoystick_Lock           = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/LeftJoystick/in/Lock")));
     SteamVR_Actions.p_pistol_Shoot                = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/Pistol/in/Shoot")));
 }
Exemple #17
0
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_InteractUI          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/InteractUI")));
     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_GrabGrip            = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
     SteamVR_Actions.p_default_Pose                = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_SkeletonLeftHand    = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
     SteamVR_Actions.p_default_SkeletonRightHand   = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/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_HeadsetOnHead       = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/HeadsetOnHead")));
     SteamVR_Actions.p_default_SnapTurnLeft        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/SnapTurnLeft")));
     SteamVR_Actions.p_default_SnapTurnRight       = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/SnapTurnRight")));
     SteamVR_Actions.p_default_MenuBtn             = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/MenuBtn")));
     SteamVR_Actions.p_default_Haptic              = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
     SteamVR_Actions.p_mixedreality_ExternalCamera = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/mixedreality/in/ExternalCamera")));
 }
Exemple #18
0
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_Grip       = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Grip")));
     SteamVR_Actions.p_default_ThrustUp   = ((SteamVR_Action_Single)(SteamVR_Action.Create <SteamVR_Action_Single>("/actions/default/in/ThrustUp")));
     SteamVR_Actions.p_default_ThrustDown = ((SteamVR_Action_Single)(SteamVR_Action.Create <SteamVR_Action_Single>("/actions/default/in/ThrustDown")));
     SteamVR_Actions.p_default_RollMode   = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/RollMode")));
     SteamVR_Actions.p_default_Interact   = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Interact")));
     SteamVR_Actions.p_default_Jump       = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Jump")));
     SteamVR_Actions.p_default_Back       = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Back")));
     SteamVR_Actions.p_default_Menu       = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Menu")));
     SteamVR_Actions.p_default_Map        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Map")));
     SteamVR_Actions.p_default_Look       = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/default/in/Look")));
     SteamVR_Actions.p_default_Move       = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/default/in/Move")));
     SteamVR_Actions.p_default_LeftHand   = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/LeftHand")));
     SteamVR_Actions.p_default_RightHand  = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/RightHand")));
     SteamVR_Actions.p_default_Haptic     = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
 }
Exemple #19
0
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_Grip            = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Grip")));
     SteamVR_Actions.p_default_ThrottleUp      = ((SteamVR_Action_Single)(SteamVR_Action.Create <SteamVR_Action_Single>("/actions/default/in/ThrottleUp")));
     SteamVR_Actions.p_default_ThrottleDown    = ((SteamVR_Action_Single)(SteamVR_Action.Create <SteamVR_Action_Single>("/actions/default/in/ThrottleDown")));
     SteamVR_Actions.p_default_SecondaryAction = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/SecondaryAction")));
     SteamVR_Actions.p_default_PrimaryAction   = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/PrimaryAction")));
     SteamVR_Actions.p_default_Jump            = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Jump")));
     SteamVR_Actions.p_default_Back            = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Back")));
     SteamVR_Actions.p_default_Menu            = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Menu")));
     SteamVR_Actions.p_default_Map             = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Map")));
     SteamVR_Actions.p_default_Look            = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/default/in/Look")));
     SteamVR_Actions.p_default_Move            = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/default/in/Move")));
     SteamVR_Actions.p_default_LeftHand        = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/LeftHand")));
     SteamVR_Actions.p_default_RightHand       = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/RightHand")));
     SteamVR_Actions.p_default_Haptic          = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
 }
 private static void PreInitActions()
 {
     SteamVR_Actions.p_project3D_LeftController  = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/Project3D/in/LeftController")));
     SteamVR_Actions.p_project3D_RightController = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/Project3D/in/RightController")));
     SteamVR_Actions.p_project3D_Trigger         = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/Project3D/in/Trigger")));
     SteamVR_Actions.p_project3D_Locomotive      = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/Project3D/in/Locomotive")));
     SteamVR_Actions.p_project3D_LocPush         = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/Project3D/in/LocPush")));
     SteamVR_Actions.p_project3D_Grab            = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/Project3D/in/Grab")));
     SteamVR_Actions.p_project3D_Haptic          = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/Project3D/out/Haptic")));
     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")));
 }
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_GrabPinch         = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabPinch")));
     SteamVR_Actions.p_default_GrabGrip          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
     SteamVR_Actions.p_default_Pose              = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_SkeletonLeftHand  = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
     SteamVR_Actions.p_default_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/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_HeadsetOnHead     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/HeadsetOnHead")));
     SteamVR_Actions.p_default_SnapTurnLeft      = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/SnapTurnLeft")));
     SteamVR_Actions.p_default_SnapTurnRight     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/SnapTurnRight")));
     SteamVR_Actions.p_default_MoveUp            = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/default/in/MoveUp")));
     SteamVR_Actions.p_default_DimensionJump     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/DimensionJump")));
     SteamVR_Actions.p_default_Teleport          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Teleport")));
     SteamVR_Actions.p_default_StartLaser        = ((SteamVR_Action_Single)(SteamVR_Action.Create <SteamVR_Action_Single>("/actions/default/in/StartLaser")));
     SteamVR_Actions.p_default_PullObject        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/PullObject")));
     SteamVR_Actions.p_default_Haptic            = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
 }
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_InteractUI        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/InteractUI")));
     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_GrabGrip          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
     SteamVR_Actions.p_default_Pose              = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_SkeletonLeftHand  = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
     SteamVR_Actions.p_default_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/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_TrackpadTouched   = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/TrackpadTouched")));
     SteamVR_Actions.p_default_TrackpadPressed   = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/TrackpadPressed")));
     SteamVR_Actions.p_default_MenuControlButton = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/MenuControlButton")));
     SteamVR_Actions.p_default_TrackpadPosition  = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/default/in/TrackpadPosition")));
     SteamVR_Actions.p_default_LaserOn           = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/LaserOn")));
     SteamVR_Actions.p_default_TriggerPull       = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/TriggerPull")));
     SteamVR_Actions.p_default_Haptic            = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
 }
Exemple #23
0
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_GrabPinch         = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabPinch")));
     SteamVR_Actions.p_default_GrabGrip          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
     SteamVR_Actions.p_default_Pose              = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_SkeletonLeftHand  = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
     SteamVR_Actions.p_default_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/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_HeadsetOnHead     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/HeadsetOnHead")));
     SteamVR_Actions.p_default_Haptic            = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
     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")));
 }
Exemple #24
0
 private static void PreInitActions()
 {
     SteamVR_Actions.p_tiltBrush_Pose                    = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/TiltBrush/in/Pose")));
     SteamVR_Actions.p_tiltBrush_RI_Trigger              = ((SteamVR_Action_Single)(SteamVR_Action.Create <SteamVR_Action_Single>("/actions/TiltBrush/in/RI_Trigger")));
     SteamVR_Actions.p_tiltBrush_RI_Thumbstick           = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/TiltBrush/in/RI_Thumbstick")));
     SteamVR_Actions.p_tiltBrush_RI_ThumbstickTouch      = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/TiltBrush/in/RI_ThumbstickTouch")));
     SteamVR_Actions.p_tiltBrush_RI_GripBinary           = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/TiltBrush/in/RI_GripBinary")));
     SteamVR_Actions.p_tiltBrush_RI_GripAnalog           = ((SteamVR_Action_Single)(SteamVR_Action.Create <SteamVR_Action_Single>("/actions/TiltBrush/in/RI_GripAnalog")));
     SteamVR_Actions.p_tiltBrush_RI_MenuButton           = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/TiltBrush/in/RI_MenuButton")));
     SteamVR_Actions.p_tiltBrush_RI_PadTouch             = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/TiltBrush/in/RI_PadTouch")));
     SteamVR_Actions.p_tiltBrush_RI_PadDirectional       = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/TiltBrush/in/RI_PadDirectional")));
     SteamVR_Actions.p_tiltBrush_RI_PadClick             = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/TiltBrush/in/RI_PadClick")));
     SteamVR_Actions.p_tiltBrush_RI_PrimaryButton        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/TiltBrush/in/RI_PrimaryButton")));
     SteamVR_Actions.p_tiltBrush_RI_PrimaryButtonTouch   = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/TiltBrush/in/RI_PrimaryButtonTouch")));
     SteamVR_Actions.p_tiltBrush_RI_SecondaryButton      = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/TiltBrush/in/RI_SecondaryButton")));
     SteamVR_Actions.p_tiltBrush_RI_SecondaryButtonTouch = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/TiltBrush/in/RI_SecondaryButtonTouch")));
     SteamVR_Actions.p_tiltBrush_Haptic                  = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/TiltBrush/out/Haptic")));
     SteamVR_Actions.p_mixedreality_ExternalCamera       = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/mixedreality/in/ExternalCamera")));
 }
Exemple #25
0
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_InteractUI        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/InteractUI")));
     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_GrabGrip          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
     SteamVR_Actions.p_default_Pose              = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_SkeletonLeftHand  = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
     SteamVR_Actions.p_default_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/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_PressButtonA      = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/PressButtonA")));
     SteamVR_Actions.p_default_Haptic            = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
     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")));
 }
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_InteractUI        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/InteractUI")));
     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_GrabGrip          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
     SteamVR_Actions.p_default_Pose              = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_SkeletonLeftHand  = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
     SteamVR_Actions.p_default_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/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_HeadsetOnHead     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/HeadsetOnHead")));
     SteamVR_Actions.p_default_UseInteractable   = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/UseInteractable")));
     SteamVR_Actions.p_default_Handle            = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Handle")));
     SteamVR_Actions.p_default_Haptic            = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
     SteamVR_Actions.p_walk_Walk           = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/Walk/in/Walk")));
     SteamVR_Actions.p_walk_Jump           = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/Walk/in/Jump")));
     SteamVR_Actions.p_fly_FlyAcceleration = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/Fly/in/FlyAcceleration")));
     SteamVR_Actions.p_fly_FlyDirection    = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/Fly/in/FlyDirection")));
 }
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_InteractUI        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/InteractUI")));
     SteamVR_Actions.p_default_Teleport          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Teleport")));
     SteamVR_Actions.p_default_Grab              = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Grab")));
     SteamVR_Actions.p_default_GrabGrip          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
     SteamVR_Actions.p_default_Pose              = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_SkeletonLeftHand  = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
     SteamVR_Actions.p_default_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/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_HeadsetOnHead     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/HeadsetOnHead")));
     SteamVR_Actions.p_default_DelItem           = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/DelItem")));
     SteamVR_Actions.p_default_TouchPad          = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/default/in/TouchPad")));
     SteamVR_Actions.p_default_LeftTouchPad      = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/default/in/LeftTouchPad")));
     SteamVR_Actions.p_default_NextItem          = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/default/in/NextItem")));
     SteamVR_Actions.p_default_Reset             = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Reset")));
     SteamVR_Actions.p_default_NewAction1q1      = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/NewAction1q1")));
     SteamVR_Actions.p_default_Haptic            = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
 }
Exemple #28
0
 private static void PreInitActions()
 {
     SteamVR_Actions.p_robotArmControl_InteractUI        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/RobotArmControl/in/InteractUI")));
     SteamVR_Actions.p_robotArmControl_GrabPinch         = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/RobotArmControl/in/GrabPinch")));
     SteamVR_Actions.p_robotArmControl_SkeletonLeftHand  = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/RobotArmControl/in/SkeletonLeftHand")));
     SteamVR_Actions.p_robotArmControl_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/RobotArmControl/in/SkeletonRightHand")));
     SteamVR_Actions.p_robotArmControl_TouchPadUp        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/RobotArmControl/in/TouchPadUp")));
     SteamVR_Actions.p_robotArmControl_TouchPadRight     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/RobotArmControl/in/TouchPadRight")));
     SteamVR_Actions.p_robotArmControl_TouchPadDown      = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/RobotArmControl/in/TouchPadDown")));
     SteamVR_Actions.p_robotArmControl_TouchPadLeft      = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/RobotArmControl/in/TouchPadLeft")));
     SteamVR_Actions.p_robotArmControl_Pose                  = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/RobotArmControl/in/Pose")));
     SteamVR_Actions.p_robotArmControl_Squeeze               = ((SteamVR_Action_Single)(SteamVR_Action.Create <SteamVR_Action_Single>("/actions/RobotArmControl/in/Squeeze")));
     SteamVR_Actions.p_robotArmControl_HeadSetOnHead         = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/RobotArmControl/in/HeadSetOnHead")));
     SteamVR_Actions.p_robotArmControl_GrabGrip              = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/RobotArmControl/in/GrabGrip")));
     SteamVR_Actions.p_robotArmControl_Teleport              = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/RobotArmControl/in/Teleport")));
     SteamVR_Actions.p_robotArmControl_ActivateMenu          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/RobotArmControl/in/ActivateMenu")));
     SteamVR_Actions.p_robotArmControl_Select                = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/RobotArmControl/in/Select")));
     SteamVR_Actions.p_robotArmControl_MenuSelectionPosition = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/RobotArmControl/in/MenuSelectionPosition")));
     SteamVR_Actions.p_robotArmControl_Haptic                = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/RobotArmControl/out/Haptic")));
 }
Exemple #29
0
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_InteractUI             = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/InteractUI")));
     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_GrabGrip               = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
     SteamVR_Actions.p_default_Pose                   = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_SkeletonLeftHand       = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
     SteamVR_Actions.p_default_SkeletonRightHand      = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/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_HeadsetOnHead          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/HeadsetOnHead")));
     SteamVR_Actions.p_default_SnapTurnLeft           = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/SnapTurnLeft")));
     SteamVR_Actions.p_default_SnapTurnRight          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/SnapTurnRight")));
     SteamVR_Actions.p_default_OpenUI                 = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/OpenUI")));
     SteamVR_Actions.p_default_PickUpItem             = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/PickUpItem")));
     SteamVR_Actions.p_default_Haptic                 = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
     SteamVR_Actions.p_inventorySystem_OpenUI         = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/InventorySystem/in/OpenUI")));
     SteamVR_Actions.p_inventorySystem_PickUpItem     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/InventorySystem/in/PickUpItem")));
     SteamVR_Actions.p_inventorySystem_InteractWithUI = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/InventorySystem/in/InteractWithUI")));
 }
Exemple #30
0
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_InteractUI        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/InteractUI")));
     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_GrabGrip          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabGrip")));
     SteamVR_Actions.p_default_Pose              = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_SkeletonLeftHand  = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/default/in/SkeletonLeftHand")));
     SteamVR_Actions.p_default_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/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_HeadsetOnHead     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/HeadsetOnHead")));
     SteamVR_Actions.p_default_SnapTurnLeft      = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/SnapTurnLeft")));
     SteamVR_Actions.p_default_SnapTurnRight     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/SnapTurnRight")));
     SteamVR_Actions.p_default_Haptic            = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
     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")));
     SteamVR_Actions.p_vRIF_LeftGrip            = ((SteamVR_Action_Single)(SteamVR_Action.Create <SteamVR_Action_Single>("/actions/VRIF/in/LeftGrip")));
     SteamVR_Actions.p_vRIF_RightGrip           = ((SteamVR_Action_Single)(SteamVR_Action.Create <SteamVR_Action_Single>("/actions/VRIF/in/RightGrip")));
     SteamVR_Actions.p_vRIF_AButton             = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/VRIF/in/AButton")));
     SteamVR_Actions.p_vRIF_BButton             = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/VRIF/in/BButton")));
     SteamVR_Actions.p_vRIF_XButton             = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/VRIF/in/XButton")));
     SteamVR_Actions.p_vRIF_YButton             = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/VRIF/in/YButton")));
     SteamVR_Actions.p_vRIF_LeftTrigger         = ((SteamVR_Action_Single)(SteamVR_Action.Create <SteamVR_Action_Single>("/actions/VRIF/in/LeftTrigger")));
     SteamVR_Actions.p_vRIF_RightTrigger        = ((SteamVR_Action_Single)(SteamVR_Action.Create <SteamVR_Action_Single>("/actions/VRIF/in/RightTrigger")));
     SteamVR_Actions.p_vRIF_LeftTriggerNear     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/VRIF/in/LeftTriggerNear")));
     SteamVR_Actions.p_vRIF_RightTriggerNear    = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/VRIF/in/RightTriggerNear")));
     SteamVR_Actions.p_vRIF_LeftThumbstickAxis  = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/VRIF/in/LeftThumbstickAxis")));
     SteamVR_Actions.p_vRIF_RightThumbstickAxis = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/VRIF/in/RightThumbstickAxis")));
     SteamVR_Actions.p_vRIF_LeftThumbstickNear  = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/VRIF/in/LeftThumbstickNear")));
     SteamVR_Actions.p_vRIF_RightThumbstickNear = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/VRIF/in/RightThumbstickNear")));
     SteamVR_Actions.p_vRIF_LeftThumbstickDown  = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/VRIF/in/LeftThumbstickDown")));
     SteamVR_Actions.p_vRIF_RightThumbstickDown = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/VRIF/in/RightThumbstickDown")));
     SteamVR_Actions.p_vRIF_Start  = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/VRIF/in/Start")));
     SteamVR_Actions.p_vRIF_Back   = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/VRIF/in/Back")));
     SteamVR_Actions.p_vRIF_Haptic = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/VRIF/out/Haptic")));
 }