Ejemplo n.º 1
0
        private void SteamVR_Behaviour_Boolean_OnChange(SteamVR_Action_Boolean fromAction,
                                                        SteamVR_Input_Sources fromSource, bool newState)
        {
            if (onChange != null)
            {
                onChange.Invoke(this, fromSource, newState);
            }

            if (onChangeEvent != null)
            {
                onChangeEvent.Invoke(this, fromSource, newState);
            }
        }
 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")));
 }
Ejemplo n.º 3
0
        private void SteamVR_Behaviour_Boolean_OnState(SteamVR_Action_Boolean fromAction,
                                                       SteamVR_Input_Sources fromSource)
        {
            if (onPress != null)
            {
                onPress.Invoke(this, fromSource, true);
            }

            if (onPressEvent != null)
            {
                onPressEvent.Invoke(this, fromSource);
            }
        }
Ejemplo n.º 4
0
        private void SteamVR_Behaviour_Boolean_OnStateUp(SteamVR_Action_Boolean fromAction,
                                                         SteamVR_Input_Sources fromSource)
        {
            if (onPressUp != null)
            {
                onPressUp.Invoke(this, fromSource, false);
            }

            if (onPressUpEvent != null)
            {
                onPressUpEvent.Invoke(this, fromSource);
            }
        }
Ejemplo n.º 5
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_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")));
 }
Ejemplo n.º 6
0
 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_Grab                = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Grab")));
     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_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_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_mixedreality_ExternalCamera = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/mixedreality/in/ExternalCamera")));
 }
 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_GrabToggle                = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabToggle")));
     SteamVR_Actions.p_default_GrabHold                  = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabHold")));
     SteamVR_Actions.p_default_GrabPinch                 = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabPinch")));
     SteamVR_Actions.p_default_Pose                      = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_ResetSeatedPosition       = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/ResetSeatedPosition")));
     SteamVR_Actions.p_default_MaybeResetSeatedPosition  = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/MaybeResetSeatedPosition")));
     SteamVR_Actions.p_default_Haptic                    = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
     SteamVR_Actions.p_menu_MenuBack                     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/Menu/in/MenuBack")));
     SteamVR_Actions.p_menu_MenuSelect                   = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/Menu/in/MenuSelect")));
     SteamVR_Actions.p_menu_MenuNavigateUp               = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/Menu/in/MenuNavigateUp")));
     SteamVR_Actions.p_menu_MenuNavigateDown             = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/Menu/in/MenuNavigateDown")));
     SteamVR_Actions.p_menu_MenuNavigateLeft             = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/Menu/in/MenuNavigateLeft")));
     SteamVR_Actions.p_menu_MenuNavigateRight            = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/Menu/in/MenuNavigateRight")));
     SteamVR_Actions.p_menu_MenuNavigateTrackpadPress    = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/Menu/in/MenuNavigateTrackpadPress")));
     SteamVR_Actions.p_menu_MenuNavigateTrackpadTouch    = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/Menu/in/MenuNavigateTrackpadTouch")));
     SteamVR_Actions.p_menu_MenuNavigateTrackpadPosition = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/Menu/in/MenuNavigateTrackpadPosition")));
     SteamVR_Actions.p_menu_MenuNestedToggle             = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/Menu/in/MenuNestedToggle")));
     SteamVR_Actions.p_menu_MenuNavigateJoystickPosition = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/Menu/in/MenuNavigateJoystickPosition")));
     SteamVR_Actions.p_uI_UIBack                            = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/UI/in/UIBack")));
     SteamVR_Actions.p_uI_UISelect                          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/UI/in/UISelect")));
     SteamVR_Actions.p_uI_UINavigateUp                      = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/UI/in/UINavigateUp")));
     SteamVR_Actions.p_uI_UINavigateDown                    = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/UI/in/UINavigateDown")));
     SteamVR_Actions.p_uI_UINavigateLeft                    = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/UI/in/UINavigateLeft")));
     SteamVR_Actions.p_uI_UINavigateRight                   = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/UI/in/UINavigateRight")));
     SteamVR_Actions.p_uI_UINavigateTrackpadPress           = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/UI/in/UINavigateTrackpadPress")));
     SteamVR_Actions.p_uI_UINavigateTrackpadTouch           = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/UI/in/UINavigateTrackpadTouch")));
     SteamVR_Actions.p_uI_UINavigateTrackpadPosition        = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/UI/in/UINavigateTrackpadPosition")));
     SteamVR_Actions.p_uI_UITabPrevious                     = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/UI/in/UITabPrevious")));
     SteamVR_Actions.p_uI_UITabNext                         = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/UI/in/UITabNext")));
     SteamVR_Actions.p_uI_UITabTrackpadPress                = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/UI/in/UITabTrackpadPress")));
     SteamVR_Actions.p_uI_UITabTrackpadTouch                = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/UI/in/UITabTrackpadTouch")));
     SteamVR_Actions.p_uI_UITabTrackpadPosition             = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/UI/in/UITabTrackpadPosition")));
     SteamVR_Actions.p_uI_UINavigateJoystickPosition        = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/UI/in/UINavigateJoystickPosition")));
     SteamVR_Actions.p_uI_UITabJoystickPosition             = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/UI/in/UITabJoystickPosition")));
     SteamVR_Actions.p_cockpitControls_ButtonPrimary        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/CockpitControls/in/ButtonPrimary")));
     SteamVR_Actions.p_cockpitControls_ButtonSecondary      = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/CockpitControls/in/ButtonSecondary")));
     SteamVR_Actions.p_cockpitControls_ButtonAlt            = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/CockpitControls/in/ButtonAlt")));
     SteamVR_Actions.p_cockpitControls_ButtonPOV1           = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/CockpitControls/in/ButtonPOV1")));
     SteamVR_Actions.p_cockpitControls_POV1TrackpadPress    = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/CockpitControls/in/POV1TrackpadPress")));
     SteamVR_Actions.p_cockpitControls_POV1TrackpadTouch    = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/CockpitControls/in/POV1TrackpadTouch")));
     SteamVR_Actions.p_cockpitControls_ButtonPOV2           = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/CockpitControls/in/ButtonPOV2")));
     SteamVR_Actions.p_cockpitControls_POV1TrackpadPosition = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/CockpitControls/in/POV1TrackpadPosition")));
     SteamVR_Actions.p_cockpitControls_POV2TrackpadPress    = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/CockpitControls/in/POV2TrackpadPress")));
     SteamVR_Actions.p_cockpitControls_POV2TrackpadTouch    = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/CockpitControls/in/POV2TrackpadTouch")));
     SteamVR_Actions.p_cockpitControls_POV2TrackpadPosition = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/CockpitControls/in/POV2TrackpadPosition")));
     SteamVR_Actions.p_cockpitControls_POV1JoystickPosition = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/CockpitControls/in/POV1JoystickPosition")));
     SteamVR_Actions.p_cockpitControls_POV2JoystickPosition = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/CockpitControls/in/POV2JoystickPosition")));
 }
Ejemplo n.º 8
0
 public static void Dynamic_InitializeInstanceActions()
 {
     Valve.VR.SteamVR_Input.__actions_default_in_Teleport          = ((SteamVR_Action_Boolean)(SteamVR_Input_References.GetAction("__actions_default_in_Teleport")));
     Valve.VR.SteamVR_Input.__actions_default_in_Grab              = ((SteamVR_Action_Boolean)(SteamVR_Input_References.GetAction("__actions_default_in_Grab")));
     Valve.VR.SteamVR_Input.__actions_default_in_SkeletonLeftHand  = ((SteamVR_Action_Skeleton)(SteamVR_Input_References.GetAction("__actions_default_in_SkeletonLeftHand")));
     Valve.VR.SteamVR_Input.__actions_default_in_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Input_References.GetAction("__actions_default_in_SkeletonRightHand")));
     Valve.VR.SteamVR_Input.__actions_default_out_Haptic           = ((SteamVR_Action_Vibration)(SteamVR_Input_References.GetAction("__actions_default_out_Haptic")));
     Valve.VR.SteamVR_Input.actions = new Valve.VR.SteamVR_Action[]
     {
         Valve.VR.SteamVR_Input.__actions_default_in_Teleport,
         Valve.VR.SteamVR_Input.__actions_default_in_Grab,
         Valve.VR.SteamVR_Input.__actions_default_in_SkeletonLeftHand,
         Valve.VR.SteamVR_Input.__actions_default_in_SkeletonRightHand,
         Valve.VR.SteamVR_Input.__actions_default_out_Haptic
     };
     Valve.VR.SteamVR_Input.actionsIn = new Valve.VR.SteamVR_Action_In[]
     {
         Valve.VR.SteamVR_Input.__actions_default_in_Teleport,
         Valve.VR.SteamVR_Input.__actions_default_in_Grab,
         Valve.VR.SteamVR_Input.__actions_default_in_SkeletonLeftHand,
         Valve.VR.SteamVR_Input.__actions_default_in_SkeletonRightHand
     };
     Valve.VR.SteamVR_Input.actionsOut = new Valve.VR.SteamVR_Action_Out[]
     {
         Valve.VR.SteamVR_Input.__actions_default_out_Haptic
     };
     Valve.VR.SteamVR_Input.actionsVibration = new Valve.VR.SteamVR_Action_Vibration[]
     {
         Valve.VR.SteamVR_Input.__actions_default_out_Haptic
     };
     Valve.VR.SteamVR_Input.actionsPose    = new Valve.VR.SteamVR_Action_Pose[0];
     Valve.VR.SteamVR_Input.actionsBoolean = new Valve.VR.SteamVR_Action_Boolean[]
     {
         Valve.VR.SteamVR_Input.__actions_default_in_Teleport,
         Valve.VR.SteamVR_Input.__actions_default_in_Grab
     };
     Valve.VR.SteamVR_Input.actionsSingle   = new Valve.VR.SteamVR_Action_Single[0];
     Valve.VR.SteamVR_Input.actionsVector2  = new Valve.VR.SteamVR_Action_Vector2[0];
     Valve.VR.SteamVR_Input.actionsVector3  = new Valve.VR.SteamVR_Action_Vector3[0];
     Valve.VR.SteamVR_Input.actionsSkeleton = new Valve.VR.SteamVR_Action_Skeleton[]
     {
         Valve.VR.SteamVR_Input.__actions_default_in_SkeletonLeftHand,
         Valve.VR.SteamVR_Input.__actions_default_in_SkeletonRightHand
     };
     Valve.VR.SteamVR_Input.actionsNonPoseNonSkeletonIn = new Valve.VR.SteamVR_Action_In[]
     {
         Valve.VR.SteamVR_Input.__actions_default_in_Teleport,
         Valve.VR.SteamVR_Input.__actions_default_in_Grab
     };
 }
Ejemplo n.º 9
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")));
 }
Ejemplo n.º 10
0
 private static void PreInitActions()
 {
     SteamVR_Actions.p_simpleVR_Ingame_Move              = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/SimpleVR_Ingame/in/Move")));
     SteamVR_Actions.p_simpleVR_Ingame_Grab              = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/SimpleVR_Ingame/in/Grab")));
     SteamVR_Actions.p_simpleVR_Ingame_TurnAround        = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/SimpleVR_Ingame/in/TurnAround")));
     SteamVR_Actions.p_simpleVR_Ingame_SkeletonLeftHand  = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/SimpleVR_Ingame/in/SkeletonLeftHand")));
     SteamVR_Actions.p_simpleVR_Ingame_SkeletonRightHand = ((SteamVR_Action_Skeleton)(SteamVR_Action.Create <SteamVR_Action_Skeleton>("/actions/SimpleVR_Ingame/in/SkeletonRightHand")));
     SteamVR_Actions.p_simpleVR_Ingame_TurnLeft          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/SimpleVR_Ingame/in/TurnLeft")));
     SteamVR_Actions.p_simpleVR_Ingame_TurnRight         = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/SimpleVR_Ingame/in/TurnRight")));
     SteamVR_Actions.p_simpleVR_Ingame_Haptic            = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/SimpleVR_Ingame/out/Haptic")));
     SteamVR_Actions.p_simpleVR_Menu_Menu  = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/SimpleVR_Menu/in/Menu")));
     SteamVR_Actions.p_simpleVR_Menu_Enter = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/SimpleVR_Menu/in/Enter")));
     SteamVR_Actions.p_simpleVR_Menu_Back  = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/SimpleVR_Menu/in/Back")));
 }
Ejemplo n.º 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_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")));
 }
Ejemplo n.º 12
0
 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_SceneChange            = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/SceneChange")));
     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")));
     SteamVR_Actions.p_handPoseAssist_ThumbHorizontal = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/HandPoseAssist/in/ThumbHorizontal")));
 }
 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_Grab              = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/Grab")));
     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_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_touchpad          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/touchpad")));
     SteamVR_Actions.p_default_touchpos          = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/default/in/touchpos")));
     SteamVR_Actions.p_default_Pose              = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/Pose")));
     SteamVR_Actions.p_default_forward           = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/forward")));
     SteamVR_Actions.p_default_Haptic            = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
 }
Ejemplo n.º 14
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_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")));
 }
Ejemplo n.º 16
0
 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")));
 }
Ejemplo n.º 17
0
 private static void PreInitActions()
 {
     SteamVR_Actions.p_default_turnLeft            = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/turnLeft")));
     SteamVR_Actions.p_default_turnRight           = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/turnRight")));
     SteamVR_Actions.p_default_move                = ((SteamVR_Action_Vector2)(SteamVR_Action.Create <SteamVR_Action_Vector2>("/actions/default/in/move")));
     SteamVR_Actions.p_default_pose                = ((SteamVR_Action_Pose)(SteamVR_Action.Create <SteamVR_Action_Pose>("/actions/default/in/pose")));
     SteamVR_Actions.p_default_triggerAction       = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/triggerAction")));
     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_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")));
 }
Ejemplo n.º 20
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_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")));
 }
Ejemplo n.º 21
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")));
 }
 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_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_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_GrabZoom          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/GrabZoom")));
     SteamVR_Actions.p_default_ToolMenu          = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/ToolMenu")));
     SteamVR_Actions.p_default_UseTool           = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/UseTool")));
     SteamVR_Actions.p_default_MultiSelect       = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/MultiSelect")));
     SteamVR_Actions.p_default_AxisAlign         = ((SteamVR_Action_Boolean)(SteamVR_Action.Create <SteamVR_Action_Boolean>("/actions/default/in/AxisAlign")));
     SteamVR_Actions.p_default_Haptic            = ((SteamVR_Action_Vibration)(SteamVR_Action.Create <SteamVR_Action_Vibration>("/actions/default/out/Haptic")));
 }
Ejemplo n.º 23
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")));
 }
 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")));
 }
Ejemplo n.º 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_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")));
 }
Ejemplo n.º 26
0
 public static void Dynamic_InitializeInstanceActions()
 {
     Valve.VR.SteamVR_Input.@__actions_default_in_InteractUI  = ((SteamVR_Action_Boolean)(SteamVR_Input_References.GetAction("__actions_default_in_InteractUI")));
     Valve.VR.SteamVR_Input.@__actions_default_in_Teleport    = ((SteamVR_Action_Boolean)(SteamVR_Input_References.GetAction("__actions_default_in_Teleport")));
     Valve.VR.SteamVR_Input.@__actions_default_in_ControlTime = ((SteamVR_Action_Vector2)(SteamVR_Input_References.GetAction("__actions_default_in_ControlTime")));
     Valve.VR.SteamVR_Input.@__actions_default_in_EmitSound   = ((SteamVR_Action_Boolean)(SteamVR_Input_References.GetAction("__actions_default_in_EmitSound")));
     Valve.VR.SteamVR_Input.@__actions_default_in_Pose        = ((SteamVR_Action_Pose)(SteamVR_Input_References.GetAction("__actions_default_in_Pose")));
     Valve.VR.SteamVR_Input.actions = new Valve.VR.SteamVR_Action[] {
         Valve.VR.SteamVR_Input.@__actions_default_in_InteractUI,
         Valve.VR.SteamVR_Input.@__actions_default_in_Teleport,
         Valve.VR.SteamVR_Input.@__actions_default_in_ControlTime,
         Valve.VR.SteamVR_Input.@__actions_default_in_EmitSound,
         Valve.VR.SteamVR_Input.@__actions_default_in_Pose
     };
     Valve.VR.SteamVR_Input.actionsIn = new Valve.VR.SteamVR_Action_In[] {
         Valve.VR.SteamVR_Input.@__actions_default_in_InteractUI,
         Valve.VR.SteamVR_Input.@__actions_default_in_Teleport,
         Valve.VR.SteamVR_Input.@__actions_default_in_ControlTime,
         Valve.VR.SteamVR_Input.@__actions_default_in_EmitSound,
         Valve.VR.SteamVR_Input.@__actions_default_in_Pose
     };
     Valve.VR.SteamVR_Input.actionsOut       = new Valve.VR.SteamVR_Action_Out[0];
     Valve.VR.SteamVR_Input.actionsVibration = new Valve.VR.SteamVR_Action_Vibration[0];
     Valve.VR.SteamVR_Input.actionsPose      = new Valve.VR.SteamVR_Action_Pose[] {
         Valve.VR.SteamVR_Input.@__actions_default_in_Pose
     };
     Valve.VR.SteamVR_Input.actionsBoolean = new Valve.VR.SteamVR_Action_Boolean[] {
         Valve.VR.SteamVR_Input.@__actions_default_in_InteractUI,
         Valve.VR.SteamVR_Input.@__actions_default_in_Teleport,
         Valve.VR.SteamVR_Input.@__actions_default_in_EmitSound
     };
     Valve.VR.SteamVR_Input.actionsSingle  = new Valve.VR.SteamVR_Action_Single[0];
     Valve.VR.SteamVR_Input.actionsVector2 = new Valve.VR.SteamVR_Action_Vector2[] {
         Valve.VR.SteamVR_Input.@__actions_default_in_ControlTime
     };
     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.SteamVR_Action_In[] {
         Valve.VR.SteamVR_Input.@__actions_default_in_InteractUI,
         Valve.VR.SteamVR_Input.@__actions_default_in_Teleport,
         Valve.VR.SteamVR_Input.@__actions_default_in_ControlTime,
         Valve.VR.SteamVR_Input.@__actions_default_in_EmitSound
     };
 }
Ejemplo n.º 27
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")));
 }
 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")));
 }
Ejemplo n.º 29
0
 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_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_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")));
 }
 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")));
 }