diff --git a/Config/DefaultEngine.ini b/Config/DefaultEngine.ini index 2d6ffb7..b7d5f6a 100644 --- a/Config/DefaultEngine.ini +++ b/Config/DefaultEngine.ini @@ -15,7 +15,7 @@ DefaultGraphicsPerformance=Maximum AppliedDefaultGraphicsPerformance=Maximum [/Script/WindowsTargetPlatform.WindowsTargetSettings] -DefaultGraphicsRHI=DefaultGraphicsRHI_DX12 +DefaultGraphicsRHI=DefaultGraphicsRHI_DX11 [/Script/Engine.RendererSettings] r.GenerateMeshDistanceFields=False @@ -74,12 +74,12 @@ ManualIPAddress= [/Script/AndroidRuntimeSettings.AndroidRuntimeSettings] PackageName=BankaiSoftware.FireKrackers -StoreVersion=1 +StoreVersion=4 StoreVersionOffsetArmV7=0 StoreVersionOffsetArm64=0 StoreVersionOffsetX8664=0 ApplicationDisplayName=FireKrackers -VersionDisplayName=1.0 +VersionDisplayName=1.1.2 MinSDKVersion=23 TargetSDKVersion=32 InstallLocation=Auto @@ -113,6 +113,7 @@ ExtraApplicationSettings= ExtraActivitySettings= bAndroidVoiceEnabled=False +PackageForOculusMobile=Quest2 ++PackageForOculusMobile=Quest bRemoveOSIG=True KeyStore=FKKeystore.keystore KeyAlias=FireKrackersKey diff --git a/Config/DefaultGame.ini b/Config/DefaultGame.ini index 78a266f..37a2304 100644 --- a/Config/DefaultGame.ini +++ b/Config/DefaultGame.ini @@ -1,7 +1,7 @@ [/Script/EngineSettings.GeneralProjectSettings] ProjectID=7333CB234FE3B7196FA12D867ACED69E bStartInVR=True -ProjectVersion=0.0.2 +ProjectVersion=1.1.2 ProjectName=FireKrackers CompanyName=Bankai Software CompanyDistinguishedName=Bankai Software diff --git a/Config/DefaultInput.ini b/Config/DefaultInput.ini index 3b617ac..868f05c 100644 --- a/Config/DefaultInput.ini +++ b/Config/DefaultInput.ini @@ -104,12 +104,60 @@ DoubleClickTime=0.200000 +ActionMappings=(ActionName="Use_R",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=OculusTouch_Right_A_Click) +ActionMappings=(ActionName="Use_L",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=OculusTouch_Left_X_Click) +ActionMappings=(ActionName="Laser_L",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=OculusTouch_Left_Y_Click) ++ActionMappings=(ActionName="Grab_R",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Vive_Right_Trigger_Click) ++ActionMappings=(ActionName="Grab_R",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=MixedReality_Right_Trigger_Click) ++ActionMappings=(ActionName="Grab_R",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=ValveIndex_Right_Trigger_Click) ++ActionMappings=(ActionName="Grab_R",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Cosmos_Right_Trigger_Click) ++ActionMappings=(ActionName="Grab_L",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Vive_Left_Trigger_Click) ++ActionMappings=(ActionName="Grab_L",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=MixedReality_Left_Trigger_Click) ++ActionMappings=(ActionName="Grab_L",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=ValveIndex_Left_Trigger_Click) ++ActionMappings=(ActionName="Grab_L",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Cosmos_Left_Trigger_Click) ++ActionMappings=(ActionName="Laser_R",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Vive_Right_Grip_Click) ++ActionMappings=(ActionName="Laser_R",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=MixedReality_Right_Grip_Click) ++ActionMappings=(ActionName="Laser_R",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=ValveIndex_Right_B_Click) ++ActionMappings=(ActionName="Laser_R",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Cosmos_Right_B_Click) ++ActionMappings=(ActionName="Laser_L",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Vive_Left_Grip_Click) ++ActionMappings=(ActionName="Laser_L",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=MixedReality_Left_Grip_Click) ++ActionMappings=(ActionName="Laser_L",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=ValveIndex_Left_B_Click) ++ActionMappings=(ActionName="Laser_L",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Cosmos_Left_Y_Click) ++ActionMappings=(ActionName="Use_R",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Vive_Right_Trackpad_Touch) ++ActionMappings=(ActionName="Use_L",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Vive_Left_Trackpad_Touch) ++ActionMappings=(ActionName="Use_R",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=MixedReality_Right_Trackpad_Touch) ++ActionMappings=(ActionName="Use_L",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=MixedReality_Left_Trackpad_Touch) ++ActionMappings=(ActionName="Use_R",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=ValveIndex_Right_A_Click) ++ActionMappings=(ActionName="Use_L",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=ValveIndex_Left_A_Click) ++ActionMappings=(ActionName="Use_R",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Cosmos_Right_A_Click) ++ActionMappings=(ActionName="Use_L",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Cosmos_Left_X_Click) +AxisMappings=(AxisName="TriggerR",Scale=1.000000,Key=OculusTouch_Right_Trigger_Axis) +AxisMappings=(AxisName="TriggerL",Scale=1.000000,Key=OculusTouch_Left_Trigger_Axis) +AxisMappings=(AxisName="RThumbY",Scale=1.000000,Key=OculusTouch_Right_Thumbstick_Y) +AxisMappings=(AxisName="RThumbX",Scale=1.000000,Key=OculusTouch_Right_Thumbstick_X) +AxisMappings=(AxisName="LThumbY",Scale=1.000000,Key=OculusTouch_Left_Thumbstick_Y) +AxisMappings=(AxisName="LThumbX",Scale=1.000000,Key=OculusTouch_Left_Thumbstick_X) ++AxisMappings=(AxisName="RThumbY",Scale=1.000000,Key=Vive_Right_Trackpad_Y) ++AxisMappings=(AxisName="RThumbX",Scale=1.000000,Key=Vive_Right_Trackpad_X) ++AxisMappings=(AxisName="LThumbY",Scale=1.000000,Key=Vive_Left_Trackpad_Y) ++AxisMappings=(AxisName="LThumbX",Scale=1.000000,Key=Vive_Left_Trackpad_X) ++AxisMappings=(AxisName="RThumbY",Scale=1.000000,Key=MixedReality_Right_Thumbstick_Y) ++AxisMappings=(AxisName="RThumbX",Scale=1.000000,Key=MixedReality_Right_Thumbstick_X) ++AxisMappings=(AxisName="LThumbY",Scale=1.000000,Key=MixedReality_Left_Thumbstick_Y) ++AxisMappings=(AxisName="LThumbX",Scale=1.000000,Key=MixedReality_Left_Thumbstick_X) ++AxisMappings=(AxisName="RThumbY",Scale=1.000000,Key=ValveIndex_Right_Thumbstick_Y) ++AxisMappings=(AxisName="RThumbX",Scale=1.000000,Key=ValveIndex_Right_Thumbstick_X) ++AxisMappings=(AxisName="LThumbY",Scale=1.000000,Key=ValveIndex_Left_Thumbstick_Y) ++AxisMappings=(AxisName="LThumbX",Scale=1.000000,Key=ValveIndex_Left_Thumbstick_X) ++AxisMappings=(AxisName="RThumbY",Scale=1.000000,Key=Cosmos_Right_Thumbstick_Y) ++AxisMappings=(AxisName="RThumbX",Scale=1.000000,Key=Cosmos_Right_Thumbstick_X) ++AxisMappings=(AxisName="LThumbY",Scale=1.000000,Key=Cosmos_Left_Thumbstick_Y) ++AxisMappings=(AxisName="LThumbX",Scale=1.000000,Key=Cosmos_Left_Thumbstick_X) ++AxisMappings=(AxisName="TriggerR",Scale=1.000000,Key=Vive_Right_Trigger_Axis) ++AxisMappings=(AxisName="TriggerL",Scale=1.000000,Key=Vive_Left_Trigger_Axis) ++AxisMappings=(AxisName="TriggerR",Scale=1.000000,Key=MixedReality_Right_Trigger_Axis) ++AxisMappings=(AxisName="TriggerL",Scale=1.000000,Key=MixedReality_Left_Trigger_Axis) ++AxisMappings=(AxisName="TriggerR",Scale=1.000000,Key=ValveIndex_Right_Trigger_Axis) ++AxisMappings=(AxisName="TriggerL",Scale=1.000000,Key=ValveIndex_Left_Trigger_Axis) ++AxisMappings=(AxisName="TriggerR",Scale=1.000000,Key=Cosmos_Right_Trigger_Axis) ++AxisMappings=(AxisName="TriggerL",Scale=1.000000,Key=Cosmos_Left_Trigger_Axis) DefaultPlayerInputClass=/Script/Engine.PlayerInput DefaultInputComponentClass=/Script/Engine.InputComponent DefaultTouchInterface=/Engine/MobileResources/HUD/DefaultVirtualJoysticks.DefaultVirtualJoysticks diff --git a/Config/SteamVRBindings/gamepad.json b/Config/SteamVRBindings/gamepad.json new file mode 100644 index 0000000..66c4acc --- /dev/null +++ b/Config/SteamVRBindings/gamepad.json @@ -0,0 +1,13 @@ +{ + "name": "Default bindings for Gamepads", + "controller_type": "gamepad", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/holographic_controller.json b/Config/SteamVRBindings/holographic_controller.json new file mode 100644 index 0000000..d6214e7 --- /dev/null +++ b/Config/SteamVRBindings/holographic_controller.json @@ -0,0 +1,155 @@ +{ + "name": "Default bindings for MixedReality", + "controller_type": "holographic_controller", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [ + { + "mode": "trigger", + "path": "/user/hand/right/input/trigger", + "inputs": + { + "click": + { + "output": "/actions/main/in/Grab_R" + } + } + }, + { + "mode": "trigger", + "path": "/user/hand/left/input/trigger", + "inputs": + { + "click": + { + "output": "/actions/main/in/Grab_L" + } + } + }, + { + "mode": "button", + "path": "/user/hand/right/input/grip", + "inputs": + { + "click": + { + "output": "/actions/main/in/Laser_R" + } + } + }, + { + "mode": "trackpad", + "path": "/user/hand/right/input/trackpad", + "inputs": + { + "touch": + { + "output": "/actions/main/in/Use_R" + } + } + }, + { + "mode": "trackpad", + "path": "/user/hand/left/input/trackpad", + "inputs": + { + "touch": + { + "output": "/actions/main/in/Use_L" + } + } + }, + { + "mode": "button", + "path": "/user/hand/left/input/grip", + "inputs": + { + "click": + { + "output": "/actions/main/in/Laser_L" + } + } + }, + { + "mode": "trigger", + "path": "/user/hand/right/input/trigger", + "inputs": + { + "pull": + { + "output": "/actions/main/in/TriggerR axis" + } + } + }, + { + "mode": "trigger", + "path": "/user/hand/left/input/trigger", + "inputs": + { + "pull": + { + "output": "/actions/main/in/TriggerL axis" + } + } + }, + { + "mode": "joystick", + "path": "/user/hand/right/input/joystick", + "inputs": + { + "position": + { + "output": "/actions/main/in/RThumbX,RThumbY X Y_axis2d" + } + } + }, + { + "mode": "joystick", + "path": "/user/hand/left/input/joystick", + "inputs": + { + "position": + { + "output": "/actions/main/in/LThumbX,LThumbY X Y_axis2d" + } + } + } + ], + "poses": [ + { + "output": "/actions/main/in/controllerleft", + "path": "/user/hand/left/pose/raw", + "requirement": "optional" + }, + { + "output": "/actions/main/in/controllerright", + "path": "/user/hand/right/pose/raw" + } + ], + "skeleton": [ + { + "output": "/actions/main/in/skeletonleft", + "path": "/user/hand/left/input/skeleton/left" + }, + { + "output": "/actions/main/in/skeletonright", + "path": "/user/hand/right/input/skeleton/right" + } + ], + "haptics": [ + { + "output": "/actions/main/out/vibrateleft", + "path": "/user/hand/left/output/haptic" + }, + { + "output": "/actions/main/out/vibrateright", + "path": "/user/hand/right/output/haptic" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/hpmotioncontroller.json b/Config/SteamVRBindings/hpmotioncontroller.json new file mode 100644 index 0000000..2673818 --- /dev/null +++ b/Config/SteamVRBindings/hpmotioncontroller.json @@ -0,0 +1,155 @@ +{ + "name": "Default bindings for HPMixedRealityController", + "controller_type": "hpmotioncontroller", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [ + { + "mode": "trigger", + "path": "/user/hand/right/input/trigger", + "inputs": + { + "click": + { + "output": "/actions/main/in/Grab_R" + } + } + }, + { + "mode": "trigger", + "path": "/user/hand/left/input/trigger", + "inputs": + { + "click": + { + "output": "/actions/main/in/Grab_L" + } + } + }, + { + "mode": "button", + "path": "/user/hand/right/input/grip", + "inputs": + { + "click": + { + "output": "/actions/main/in/Laser_R" + } + } + }, + { + "mode": "trackpad", + "path": "/user/hand/right/input/trackpad", + "inputs": + { + "touch": + { + "output": "/actions/main/in/Use_R" + } + } + }, + { + "mode": "trackpad", + "path": "/user/hand/left/input/trackpad", + "inputs": + { + "touch": + { + "output": "/actions/main/in/Use_L" + } + } + }, + { + "mode": "button", + "path": "/user/hand/left/input/grip", + "inputs": + { + "click": + { + "output": "/actions/main/in/Laser_L" + } + } + }, + { + "mode": "trigger", + "path": "/user/hand/right/input/trigger", + "inputs": + { + "pull": + { + "output": "/actions/main/in/TriggerR axis" + } + } + }, + { + "mode": "trigger", + "path": "/user/hand/left/input/trigger", + "inputs": + { + "pull": + { + "output": "/actions/main/in/TriggerL axis" + } + } + }, + { + "mode": "joystick", + "path": "/user/hand/right/input/joystick", + "inputs": + { + "position": + { + "output": "/actions/main/in/RThumbX,RThumbY X Y_axis2d" + } + } + }, + { + "mode": "joystick", + "path": "/user/hand/left/input/joystick", + "inputs": + { + "position": + { + "output": "/actions/main/in/LThumbX,LThumbY X Y_axis2d" + } + } + } + ], + "poses": [ + { + "output": "/actions/main/in/controllerleft", + "path": "/user/hand/left/pose/raw", + "requirement": "optional" + }, + { + "output": "/actions/main/in/controllerright", + "path": "/user/hand/right/pose/raw" + } + ], + "skeleton": [ + { + "output": "/actions/main/in/skeletonleft", + "path": "/user/hand/left/input/skeleton/left" + }, + { + "output": "/actions/main/in/skeletonright", + "path": "/user/hand/right/input/skeleton/right" + } + ], + "haptics": [ + { + "output": "/actions/main/out/vibrateleft", + "path": "/user/hand/left/output/haptic" + }, + { + "output": "/actions/main/out/vibrateright", + "path": "/user/hand/right/output/haptic" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/indexhmd.json b/Config/SteamVRBindings/indexhmd.json new file mode 100644 index 0000000..6952f2d --- /dev/null +++ b/Config/SteamVRBindings/indexhmd.json @@ -0,0 +1,13 @@ +{ + "name": "Default bindings for Valve Index Headset", + "controller_type": "indexhmd", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/knuckles.json b/Config/SteamVRBindings/knuckles.json new file mode 100644 index 0000000..0f010c8 --- /dev/null +++ b/Config/SteamVRBindings/knuckles.json @@ -0,0 +1,155 @@ +{ + "name": "Default bindings for ValveIndex", + "controller_type": "knuckles", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [ + { + "mode": "trigger", + "path": "/user/hand/right/input/trigger", + "inputs": + { + "click": + { + "output": "/actions/main/in/Grab_R" + } + } + }, + { + "mode": "trigger", + "path": "/user/hand/left/input/trigger", + "inputs": + { + "click": + { + "output": "/actions/main/in/Grab_L" + } + } + }, + { + "mode": "button", + "path": "/user/hand/right/input/b", + "inputs": + { + "click": + { + "output": "/actions/main/in/Laser_R" + } + } + }, + { + "mode": "button", + "path": "/user/hand/right/input/a", + "inputs": + { + "click": + { + "output": "/actions/main/in/Use_R" + } + } + }, + { + "mode": "button", + "path": "/user/hand/left/input/a", + "inputs": + { + "click": + { + "output": "/actions/main/in/Use_L" + } + } + }, + { + "mode": "button", + "path": "/user/hand/left/input/b", + "inputs": + { + "click": + { + "output": "/actions/main/in/Laser_L" + } + } + }, + { + "mode": "trigger", + "path": "/user/hand/right/input/trigger", + "inputs": + { + "pull": + { + "output": "/actions/main/in/TriggerR axis" + } + } + }, + { + "mode": "trigger", + "path": "/user/hand/left/input/trigger", + "inputs": + { + "pull": + { + "output": "/actions/main/in/TriggerL axis" + } + } + }, + { + "mode": "joystick", + "path": "/user/hand/right/input/thumbstick", + "inputs": + { + "position": + { + "output": "/actions/main/in/RThumbX,RThumbY X Y_axis2d" + } + } + }, + { + "mode": "joystick", + "path": "/user/hand/left/input/thumbstick", + "inputs": + { + "position": + { + "output": "/actions/main/in/LThumbX,LThumbY X Y_axis2d" + } + } + } + ], + "poses": [ + { + "output": "/actions/main/in/controllerleft", + "path": "/user/hand/left/pose/raw", + "requirement": "optional" + }, + { + "output": "/actions/main/in/controllerright", + "path": "/user/hand/right/pose/raw" + } + ], + "skeleton": [ + { + "output": "/actions/main/in/skeletonleft", + "path": "/user/hand/left/input/skeleton/left" + }, + { + "output": "/actions/main/in/skeletonright", + "path": "/user/hand/right/input/skeleton/right" + } + ], + "haptics": [ + { + "output": "/actions/main/out/vibrateleft", + "path": "/user/hand/left/output/haptic" + }, + { + "output": "/actions/main/out/vibrateright", + "path": "/user/hand/right/output/haptic" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/oculus_touch.json b/Config/SteamVRBindings/oculus_touch.json new file mode 100644 index 0000000..bb3532e --- /dev/null +++ b/Config/SteamVRBindings/oculus_touch.json @@ -0,0 +1,155 @@ +{ + "name": "Default bindings for OculusTouch", + "controller_type": "oculus_touch", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [ + { + "mode": "trigger", + "path": "/user/hand/right/input/trigger", + "inputs": + { + "click": + { + "output": "/actions/main/in/Grab_R" + } + } + }, + { + "mode": "trigger", + "path": "/user/hand/left/input/trigger", + "inputs": + { + "click": + { + "output": "/actions/main/in/Grab_L" + } + } + }, + { + "mode": "button", + "path": "/user/hand/right/input/b", + "inputs": + { + "click": + { + "output": "/actions/main/in/Laser_R" + } + } + }, + { + "mode": "button", + "path": "/user/hand/right/input/a", + "inputs": + { + "click": + { + "output": "/actions/main/in/Use_R" + } + } + }, + { + "mode": "button", + "path": "/user/hand/left/input/x", + "inputs": + { + "click": + { + "output": "/actions/main/in/Use_L" + } + } + }, + { + "mode": "button", + "path": "/user/hand/left/input/y", + "inputs": + { + "click": + { + "output": "/actions/main/in/Laser_L" + } + } + }, + { + "mode": "trigger", + "path": "/user/hand/right/input/trigger", + "inputs": + { + "pull": + { + "output": "/actions/main/in/TriggerR axis" + } + } + }, + { + "mode": "trigger", + "path": "/user/hand/left/input/trigger", + "inputs": + { + "pull": + { + "output": "/actions/main/in/TriggerL axis" + } + } + }, + { + "mode": "joystick", + "path": "/user/hand/right/input/joystick", + "inputs": + { + "position": + { + "output": "/actions/main/in/RThumbX,RThumbY X Y_axis2d" + } + } + }, + { + "mode": "joystick", + "path": "/user/hand/left/input/joystick", + "inputs": + { + "position": + { + "output": "/actions/main/in/LThumbX,LThumbY X Y_axis2d" + } + } + } + ], + "poses": [ + { + "output": "/actions/main/in/controllerleft", + "path": "/user/hand/left/pose/raw", + "requirement": "optional" + }, + { + "output": "/actions/main/in/controllerright", + "path": "/user/hand/right/pose/raw" + } + ], + "skeleton": [ + { + "output": "/actions/main/in/skeletonleft", + "path": "/user/hand/left/input/skeleton/left" + }, + { + "output": "/actions/main/in/skeletonright", + "path": "/user/hand/right/input/skeleton/right" + } + ], + "haptics": [ + { + "output": "/actions/main/out/vibrateleft", + "path": "/user/hand/left/output/haptic" + }, + { + "output": "/actions/main/out/vibrateright", + "path": "/user/hand/right/output/haptic" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/rift.json b/Config/SteamVRBindings/rift.json new file mode 100644 index 0000000..d42e07f --- /dev/null +++ b/Config/SteamVRBindings/rift.json @@ -0,0 +1,13 @@ +{ + "name": "Default bindings for Rift Headset", + "controller_type": "rift", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/steamvr_manifest.json b/Config/SteamVRBindings/steamvr_manifest.json new file mode 100644 index 0000000..7dca05a --- /dev/null +++ b/Config/SteamVRBindings/steamvr_manifest.json @@ -0,0 +1,344 @@ +{ + "actions": [ + { + "name": "/actions/main/in/controllerleft", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/controllerright", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_camera", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_chest", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_shoulder_left", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_shoulder_right", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_elbow_left", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_elbow_right", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_knee_left", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_knee_right", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_waist", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_foot_left", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_foot_right", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_keyboard", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_handed_pose_left", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_handed_pose_right", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_handed_back_left", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_handed_back_right", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_handed_front_left", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_handed_front_right", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_handed_frontr_left", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_handed_frontr_right", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_handed_grip_left", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/tracker_handed_grip_right", + "type": "pose", + "requirement": "optional" + }, + { + "name": "/actions/main/in/skeletonleft", + "type": "skeleton", + "skeleton": "/skeleton/hand/left", + "requirement": "optional" + }, + { + "name": "/actions/main/in/skeletonright", + "type": "skeleton", + "skeleton": "/skeleton/hand/right", + "requirement": "optional" + }, + { + "name": "/actions/main/out/vibrateleft", + "type": "vibration", + "requirement": "optional" + }, + { + "name": "/actions/main/out/vibrateright", + "type": "vibration", + "requirement": "optional" + }, + { + "name": "/actions/main/in/open_console", + "type": "boolean", + "requirement": "optional" + }, + { + "name": "/actions/main/in/Grab_R", + "type": "boolean" + }, + { + "name": "/actions/main/in/Grab_L", + "type": "boolean" + }, + { + "name": "/actions/main/in/Laser_R", + "type": "boolean" + }, + { + "name": "/actions/main/in/Use_R", + "type": "boolean" + }, + { + "name": "/actions/main/in/Use_L", + "type": "boolean" + }, + { + "name": "/actions/main/in/Laser_L", + "type": "boolean" + }, + { + "name": "/actions/main/in/TriggerR axis", + "type": "vector1" + }, + { + "name": "/actions/main/in/TriggerL axis", + "type": "vector1" + }, + { + "name": "/actions/main/in/RThumbX,RThumbY X Y_axis2d", + "type": "vector2" + }, + { + "name": "/actions/main/in/LThumbX,LThumbY X Y_axis2d", + "type": "vector2" + } + ], + "action_sets": [ + { + "name": "/actions/main", + "usage": "leftright" + } + ], + "default_bindings": [ + { + "controller_type": "gamepad", + "binding_url": "gamepad.json" + }, + { + "controller_type": "holographic_controller", + "binding_url": "holographic_controller.json" + }, + { + "controller_type": "hpmotioncontroller", + "binding_url": "hpmotioncontroller.json" + }, + { + "controller_type": "indexhmd", + "binding_url": "indexhmd.json" + }, + { + "controller_type": "knuckles", + "binding_url": "knuckles.json" + }, + { + "controller_type": "oculus_touch", + "binding_url": "oculus_touch.json" + }, + { + "controller_type": "rift", + "binding_url": "rift.json" + }, + { + "controller_type": "vive", + "binding_url": "vive.json" + }, + { + "controller_type": "vive_controller", + "binding_url": "vive_controller.json" + }, + { + "controller_type": "vive_cosmos_controller", + "binding_url": "vive_cosmos_controller.json" + }, + { + "controller_type": "vive_pro", + "binding_url": "vive_pro.json" + }, + { + "controller_type": "vive_tracker", + "binding_url": "vive_tracker.json" + }, + { + "controller_type": "vive_tracker_camera", + "binding_url": "vive_tracker_camera.json" + }, + { + "controller_type": "vive_tracker_chest", + "binding_url": "vive_tracker_chest.json" + }, + { + "controller_type": "vive_tracker_handed", + "binding_url": "vive_tracker_handed.json" + }, + { + "controller_type": "vive_tracker_keyboard", + "binding_url": "vive_tracker_keyboard.json" + }, + { + "controller_type": "vive_tracker_left_elbow", + "binding_url": "vive_tracker_left_elbow.json" + }, + { + "controller_type": "vive_tracker_left_foot", + "binding_url": "vive_tracker_left_foot.json" + }, + { + "controller_type": "vive_tracker_left_knee", + "binding_url": "vive_tracker_left_knee.json" + }, + { + "controller_type": "vive_tracker_left_shoulder", + "binding_url": "vive_tracker_left_shoulder.json" + }, + { + "controller_type": "vive_tracker_right_elbow", + "binding_url": "vive_tracker_right_elbow.json" + }, + { + "controller_type": "vive_tracker_right_foot", + "binding_url": "vive_tracker_right_foot.json" + }, + { + "controller_type": "vive_tracker_right_knee", + "binding_url": "vive_tracker_right_knee.json" + }, + { + "controller_type": "vive_tracker_right_shoulder", + "binding_url": "vive_tracker_right_shoulder.json" + }, + { + "controller_type": "vive_tracker_waist", + "binding_url": "vive_tracker_waist.json" + } + ], + "localization": [ + { + "language_tag": "en_us", + "/actions/main/in/controllerleft": "Left Controller [Pose]", + "/actions/main/in/controllerright": "Right Controller [Pose]", + "/actions/main/in/tracker_camera": "Camera [Tracker]", + "/actions/main/in/tracker_chest": "Chest [Tracker]", + "/actions/main/in/tracker_shoulder_left": "Shoulder Left [Tracker]", + "/actions/main/in/tracker_shoulder_right": "Shoulder Right [Tracker]", + "/actions/main/in/tracker_elbow_left": "Elbow Left [Tracker]", + "/actions/main/in/tracker_elbow_right": "Elbow Right [Tracker]", + "/actions/main/in/tracker_knee_left": "Knee Left [Tracker]", + "/actions/main/in/tracker_knee_right": "Knee Right [Tracker]", + "/actions/main/in/tracker_waist": "Waist [Tracker]", + "/actions/main/in/tracker_foot_left": "Foot Left [Tracker]", + "/actions/main/in/tracker_foot_right": "Foot Right [Tracker]", + "/actions/main/in/tracker_keyboard": "Keyboard [Tracker]", + "/actions/main/in/tracker_handed_pose_left": "Raw Pose Left [Tracker]", + "/actions/main/in/tracker_handed_pose_right": "Raw Pose Right [Tracker]", + "/actions/main/in/tracker_handed_back_left": "Handed Back Left [Tracker]", + "/actions/main/in/tracker_handed_back_right": "Handed Back Right [Tracker]", + "/actions/main/in/tracker_handed_front_left": "Handed Front Left [Tracker]", + "/actions/main/in/tracker_handed_front_right": "Handed Front Right [Tracker]", + "/actions/main/in/tracker_handed_frontr_left": "Handed Front Rolled Left [Tracker]", + "/actions/main/in/tracker_handed_frontr_right": "Handed Front Rolled Right [Tracker]", + "/actions/main/in/tracker_handed_grip_left": "Handed Pistol Grip Left [Tracker]", + "/actions/main/in/tracker_handed_grip_right": "Handed Pistol Grip Right [Tracker]", + "/actions/main/in/skeletonleft": "Skeleton (Left)", + "/actions/main/in/skeletonright": "Skeleton (Right)", + "/actions/main/out/vibrateleft": "Haptic (Left)", + "/actions/main/out/vibrateright": "Haptic (Right)", + "/actions/main/in/open_console": "Open Console", + "/actions/main/in/Grab_R": "Grab_R", + "/actions/main/in/Grab_L": "Grab_L", + "/actions/main/in/Laser_R": "Laser_R", + "/actions/main/in/Use_R": "Use_R", + "/actions/main/in/Use_L": "Use_L", + "/actions/main/in/Laser_L": "Laser_L", + "/actions/main/in/TriggerR axis": "TriggerR", + "/actions/main/in/TriggerL axis": "TriggerL", + "/actions/main/in/RThumbX,RThumbY X Y_axis2d": "RThumb", + "/actions/main/in/LThumbX,LThumbY X Y_axis2d": "LThumb", + "/actions/main": "Main Game Actions" + } + ] +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive.json b/Config/SteamVRBindings/vive.json new file mode 100644 index 0000000..a7c4bbb --- /dev/null +++ b/Config/SteamVRBindings/vive.json @@ -0,0 +1,13 @@ +{ + "name": "Default bindings for Vive Headset", + "controller_type": "vive", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_controller.json b/Config/SteamVRBindings/vive_controller.json new file mode 100644 index 0000000..4c666c5 --- /dev/null +++ b/Config/SteamVRBindings/vive_controller.json @@ -0,0 +1,155 @@ +{ + "name": "Default bindings for Vive", + "controller_type": "vive_controller", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [ + { + "mode": "trigger", + "path": "/user/hand/right/input/trigger", + "inputs": + { + "click": + { + "output": "/actions/main/in/Grab_R" + } + } + }, + { + "mode": "trigger", + "path": "/user/hand/left/input/trigger", + "inputs": + { + "click": + { + "output": "/actions/main/in/Grab_L" + } + } + }, + { + "mode": "button", + "path": "/user/hand/right/input/grip", + "inputs": + { + "click": + { + "output": "/actions/main/in/Laser_R" + } + } + }, + { + "mode": "trackpad", + "path": "/user/hand/right/input/trackpad", + "inputs": + { + "touch": + { + "output": "/actions/main/in/Use_R" + } + } + }, + { + "mode": "trackpad", + "path": "/user/hand/left/input/trackpad", + "inputs": + { + "touch": + { + "output": "/actions/main/in/Use_L" + } + } + }, + { + "mode": "button", + "path": "/user/hand/left/input/grip", + "inputs": + { + "click": + { + "output": "/actions/main/in/Laser_L" + } + } + }, + { + "mode": "trigger", + "path": "/user/hand/right/input/trigger", + "inputs": + { + "pull": + { + "output": "/actions/main/in/TriggerR axis" + } + } + }, + { + "mode": "trigger", + "path": "/user/hand/left/input/trigger", + "inputs": + { + "pull": + { + "output": "/actions/main/in/TriggerL axis" + } + } + }, + { + "mode": "trackpad", + "path": "/user/hand/right/input/trackpad", + "inputs": + { + "position": + { + "output": "/actions/main/in/RThumbX,RThumbY X Y_axis2d" + } + } + }, + { + "mode": "trackpad", + "path": "/user/hand/left/input/trackpad", + "inputs": + { + "position": + { + "output": "/actions/main/in/LThumbX,LThumbY X Y_axis2d" + } + } + } + ], + "poses": [ + { + "output": "/actions/main/in/controllerleft", + "path": "/user/hand/left/pose/raw", + "requirement": "optional" + }, + { + "output": "/actions/main/in/controllerright", + "path": "/user/hand/right/pose/raw" + } + ], + "skeleton": [ + { + "output": "/actions/main/in/skeletonleft", + "path": "/user/hand/left/input/skeleton/left" + }, + { + "output": "/actions/main/in/skeletonright", + "path": "/user/hand/right/input/skeleton/right" + } + ], + "haptics": [ + { + "output": "/actions/main/out/vibrateleft", + "path": "/user/hand/left/output/haptic" + }, + { + "output": "/actions/main/out/vibrateright", + "path": "/user/hand/right/output/haptic" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_cosmos_controller.json b/Config/SteamVRBindings/vive_cosmos_controller.json new file mode 100644 index 0000000..d02256a --- /dev/null +++ b/Config/SteamVRBindings/vive_cosmos_controller.json @@ -0,0 +1,155 @@ +{ + "name": "Default bindings for Cosmos", + "controller_type": "vive_cosmos_controller", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [ + { + "mode": "trigger", + "path": "/user/hand/right/input/trigger", + "inputs": + { + "click": + { + "output": "/actions/main/in/Grab_R" + } + } + }, + { + "mode": "trigger", + "path": "/user/hand/left/input/trigger", + "inputs": + { + "click": + { + "output": "/actions/main/in/Grab_L" + } + } + }, + { + "mode": "button", + "path": "/user/hand/right/input/b", + "inputs": + { + "click": + { + "output": "/actions/main/in/Laser_R" + } + } + }, + { + "mode": "button", + "path": "/user/hand/right/input/a", + "inputs": + { + "click": + { + "output": "/actions/main/in/Use_R" + } + } + }, + { + "mode": "button", + "path": "/user/hand/left/input/x", + "inputs": + { + "click": + { + "output": "/actions/main/in/Use_L" + } + } + }, + { + "mode": "button", + "path": "/user/hand/left/input/y", + "inputs": + { + "click": + { + "output": "/actions/main/in/Laser_L" + } + } + }, + { + "mode": "trigger", + "path": "/user/hand/right/input/trigger", + "inputs": + { + "pull": + { + "output": "/actions/main/in/TriggerR axis" + } + } + }, + { + "mode": "trigger", + "path": "/user/hand/left/input/trigger", + "inputs": + { + "pull": + { + "output": "/actions/main/in/TriggerL axis" + } + } + }, + { + "mode": "joystick", + "path": "/user/hand/right/input/joystick", + "inputs": + { + "position": + { + "output": "/actions/main/in/RThumbX,RThumbY X Y_axis2d" + } + } + }, + { + "mode": "joystick", + "path": "/user/hand/left/input/joystick", + "inputs": + { + "position": + { + "output": "/actions/main/in/LThumbX,LThumbY X Y_axis2d" + } + } + } + ], + "poses": [ + { + "output": "/actions/main/in/controllerleft", + "path": "/user/hand/left/pose/raw", + "requirement": "optional" + }, + { + "output": "/actions/main/in/controllerright", + "path": "/user/hand/right/pose/raw" + } + ], + "skeleton": [ + { + "output": "/actions/main/in/skeletonleft", + "path": "/user/hand/left/input/skeleton/left" + }, + { + "output": "/actions/main/in/skeletonright", + "path": "/user/hand/right/input/skeleton/right" + } + ], + "haptics": [ + { + "output": "/actions/main/out/vibrateleft", + "path": "/user/hand/left/output/haptic" + }, + { + "output": "/actions/main/out/vibrateright", + "path": "/user/hand/right/output/haptic" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_pro.json b/Config/SteamVRBindings/vive_pro.json new file mode 100644 index 0000000..6e1a563 --- /dev/null +++ b/Config/SteamVRBindings/vive_pro.json @@ -0,0 +1,13 @@ +{ + "name": "Default bindings for Vive Pro Headset", + "controller_type": "vive_pro", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "sources": [] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_tracker.json b/Config/SteamVRBindings/vive_tracker.json new file mode 100644 index 0000000..7398b9b --- /dev/null +++ b/Config/SteamVRBindings/vive_tracker.json @@ -0,0 +1,64 @@ +{ + "name": "Default bindings for Vive Tracker", + "controller_type": "vive_tracker", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "poses": [ + { + "output": "/actions/main/in/tracker_handed_pose_left", + "path": "/user/hand/left/pose/raw", + "requirement": "optional" + }, + { + "output": "/actions/main/in/tracker_handed_pose_right", + "path": "/user/hand/right/pose/raw", + "requirement": "optional" + }, + { + "output": "/actions/main/in/tracker_handed_back_left", + "path": "/user/hand/left/pose/back", + "requirement": "optional" + }, + { + "output": "/actions/main/in/tracker_handed_back_right", + "path": "/user/hand/right/pose/back", + "requirement": "optional" + }, + { + "output": "/actions/main/in/tracker_handed_front_left", + "path": "/user/hand/left/pose/front", + "requirement": "optional" + }, + { + "output": "/actions/main/in/tracker_handed_front_right", + "path": "/actions/main/in/tracker_handed_front_right", + "requirement": "optional" + }, + { + "output": "/actions/main/in/tracker_handed_frontr_left", + "path": "/user/hand/left/pose/front_rolled", + "requirement": "optional" + }, + { + "output": "/actions/main/in/tracker_handed_frontr_right", + "path": "/user/hand/right/pose/front_rolled", + "requirement": "optional" + }, + { + "output": "/actions/main/in/tracker_handed_grip_left", + "path": "/user/hand/left/pose/pistol", + "requirement": "optional" + }, + { + "output": "/actions/main/in/tracker_handed_grip_right", + "path": "/user/hand/right/pose/pistol", + "requirement": "optional" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_tracker_camera.json b/Config/SteamVRBindings/vive_tracker_camera.json new file mode 100644 index 0000000..51f2a1e --- /dev/null +++ b/Config/SteamVRBindings/vive_tracker_camera.json @@ -0,0 +1,19 @@ +{ + "name": "Default bindings for Vive Tracker (Camera)", + "controller_type": "vive_tracker_camera", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "poses": [ + { + "output": "/actions/main/in/tracker_camera", + "path": "/user/camera/pose/raw", + "requirement": "optional" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_tracker_chest.json b/Config/SteamVRBindings/vive_tracker_chest.json new file mode 100644 index 0000000..cbf1c07 --- /dev/null +++ b/Config/SteamVRBindings/vive_tracker_chest.json @@ -0,0 +1,19 @@ +{ + "name": "Default bindings for Vive Tracker (Chest)", + "controller_type": "vive_tracker_chest", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "poses": [ + { + "output": "/actions/main/in/tracker_chest", + "path": "/user/chest/pose/raw", + "requirement": "optional" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_tracker_handed.json b/Config/SteamVRBindings/vive_tracker_handed.json new file mode 100644 index 0000000..312e2e3 --- /dev/null +++ b/Config/SteamVRBindings/vive_tracker_handed.json @@ -0,0 +1,64 @@ +{ + "name": "Default bindings for Vive Tracker (Handed)", + "controller_type": "vive_tracker_handed", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "poses": [ + { + "output": "/actions/main/in/tracker_handed_pose_left", + "path": "/user/hand/left/pose/raw", + "requirement": "optional" + }, + { + "output": "/actions/main/in/tracker_handed_pose_right", + "path": "/user/hand/right/pose/raw", + "requirement": "optional" + }, + { + "output": "/actions/main/in/tracker_handed_back_left", + "path": "/user/hand/left/pose/back", + "requirement": "optional" + }, + { + "output": "/actions/main/in/tracker_handed_back_right", + "path": "/user/hand/right/pose/back", + "requirement": "optional" + }, + { + "output": "/actions/main/in/tracker_handed_front_left", + "path": "/user/hand/left/pose/front", + "requirement": "optional" + }, + { + "output": "/actions/main/in/tracker_handed_front_right", + "path": "/actions/main/in/tracker_handed_front_right", + "requirement": "optional" + }, + { + "output": "/actions/main/in/tracker_handed_frontr_left", + "path": "/user/hand/left/pose/front_rolled", + "requirement": "optional" + }, + { + "output": "/actions/main/in/tracker_handed_frontr_right", + "path": "/user/hand/right/pose/front_rolled", + "requirement": "optional" + }, + { + "output": "/actions/main/in/tracker_handed_grip_left", + "path": "/user/hand/left/pose/pistol", + "requirement": "optional" + }, + { + "output": "/actions/main/in/tracker_handed_grip_right", + "path": "/user/hand/right/pose/pistol", + "requirement": "optional" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_tracker_keyboard.json b/Config/SteamVRBindings/vive_tracker_keyboard.json new file mode 100644 index 0000000..12059ad --- /dev/null +++ b/Config/SteamVRBindings/vive_tracker_keyboard.json @@ -0,0 +1,19 @@ +{ + "name": "Default bindings for Vive Tracker (Keyboard)", + "controller_type": "vive_tracker_keyboard", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "poses": [ + { + "output": "/actions/main/in/tracker_keyboard", + "path": "/user/keyboard/pose/raw", + "requirement": "optional" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_tracker_left_elbow.json b/Config/SteamVRBindings/vive_tracker_left_elbow.json new file mode 100644 index 0000000..23c6691 --- /dev/null +++ b/Config/SteamVRBindings/vive_tracker_left_elbow.json @@ -0,0 +1,19 @@ +{ + "name": "Default bindings for Vive Tracker (Left Elbow)", + "controller_type": "vive_tracker_left_elbow", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "poses": [ + { + "output": "/actions/main/in/tracker_elbow_left", + "path": "/user/elbow/left/pose/raw", + "requirement": "optional" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_tracker_left_foot.json b/Config/SteamVRBindings/vive_tracker_left_foot.json new file mode 100644 index 0000000..bf6dbf4 --- /dev/null +++ b/Config/SteamVRBindings/vive_tracker_left_foot.json @@ -0,0 +1,19 @@ +{ + "name": "Default bindings for Vive Tracker (Left Foot)", + "controller_type": "vive_tracker_left_foot", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "poses": [ + { + "output": "/actions/main/in/tracker_foot_left", + "path": "/user/foot/left/pose/raw", + "requirement": "optional" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_tracker_left_knee.json b/Config/SteamVRBindings/vive_tracker_left_knee.json new file mode 100644 index 0000000..5aa238f --- /dev/null +++ b/Config/SteamVRBindings/vive_tracker_left_knee.json @@ -0,0 +1,19 @@ +{ + "name": "Default bindings for Vive Tracker (Left knee)", + "controller_type": "vive_tracker_left_knee", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "poses": [ + { + "output": "/actions/main/in/tracker_knee_left", + "path": "/user/knee/left/pose/raw", + "requirement": "optional" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_tracker_left_shoulder.json b/Config/SteamVRBindings/vive_tracker_left_shoulder.json new file mode 100644 index 0000000..9ac5874 --- /dev/null +++ b/Config/SteamVRBindings/vive_tracker_left_shoulder.json @@ -0,0 +1,19 @@ +{ + "name": "Default bindings for Vive Tracker (Left Shoulder)", + "controller_type": "vive_tracker_left_shoulder", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "poses": [ + { + "output": "/actions/main/in/tracker_shoulder_left", + "path": "/user/shoulder/left/pose/raw", + "requirement": "optional" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_tracker_right_elbow.json b/Config/SteamVRBindings/vive_tracker_right_elbow.json new file mode 100644 index 0000000..4267c32 --- /dev/null +++ b/Config/SteamVRBindings/vive_tracker_right_elbow.json @@ -0,0 +1,19 @@ +{ + "name": "Default bindings for Vive Tracker (Right Elbow)", + "controller_type": "vive_tracker_right_elbow", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "poses": [ + { + "output": "/actions/main/in/tracker_elbow_right", + "path": "/user/elbow/right/pose/raw", + "requirement": "optional" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_tracker_right_foot.json b/Config/SteamVRBindings/vive_tracker_right_foot.json new file mode 100644 index 0000000..e83f152 --- /dev/null +++ b/Config/SteamVRBindings/vive_tracker_right_foot.json @@ -0,0 +1,19 @@ +{ + "name": "Default bindings for Vive Tracker (Right Foot)", + "controller_type": "vive_tracker_right_foot", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "poses": [ + { + "output": "/actions/main/in/tracker_foot_right", + "path": "/user/foot/right/pose/raw", + "requirement": "optional" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_tracker_right_knee.json b/Config/SteamVRBindings/vive_tracker_right_knee.json new file mode 100644 index 0000000..35d4963 --- /dev/null +++ b/Config/SteamVRBindings/vive_tracker_right_knee.json @@ -0,0 +1,19 @@ +{ + "name": "Default bindings for Vive Tracker (Right Knee)", + "controller_type": "vive_tracker_right_knee", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "poses": [ + { + "output": "/actions/main/in/tracker_knee_right", + "path": "/user/knee/right/pose/raw", + "requirement": "optional" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_tracker_right_shoulder.json b/Config/SteamVRBindings/vive_tracker_right_shoulder.json new file mode 100644 index 0000000..1865e69 --- /dev/null +++ b/Config/SteamVRBindings/vive_tracker_right_shoulder.json @@ -0,0 +1,19 @@ +{ + "name": "Default bindings for Vive Tracker (Right Shoulder)", + "controller_type": "vive_tracker_right_shoulder", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "poses": [ + { + "output": "/actions/main/in/tracker_shoulder_right", + "path": "/user/shoulder/right/pose/raw", + "requirement": "optional" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/SteamVRBindings/vive_tracker_waist.json b/Config/SteamVRBindings/vive_tracker_waist.json new file mode 100644 index 0000000..ea3f488 --- /dev/null +++ b/Config/SteamVRBindings/vive_tracker_waist.json @@ -0,0 +1,19 @@ +{ + "name": "Default bindings for Vive Tracker (Waist)", + "controller_type": "vive_tracker_waist", + "last_edited_by": "UnrealEngine", + "bindings": + { + "/actions/main": + { + "poses": [ + { + "output": "/actions/main/in/tracker_waist", + "path": "/user/waist/pose/raw", + "requirement": "optional" + } + ] + } + }, + "description": "FireKrackers-20979098" +} \ No newline at end of file diff --git a/Config/steamvr_ue_editor_app.json b/Config/steamvr_ue_editor_app.json new file mode 100644 index 0000000..359d2cc --- /dev/null +++ b/Config/steamvr_ue_editor_app.json @@ -0,0 +1,18 @@ +{ + "source": "UE", + "applications": [ + { + "app_key": "application.generated.ue.firekrackers-20979098.unrealeditor.exe", + "launch_type": "url", + "url": "steam://launch/", + "action_manifest_path": "D:/WORK/FireKrackers/Config/SteamVRBindings/steamvr_manifest.json", + "strings": + { + "en_us": + { + "name": "FireKrackers-20979098 [UE Editor]" + } + } + } + ] +} \ No newline at end of file diff --git a/Content/Blueprints/BP_Chainer.uasset b/Content/Blueprints/BP_Chainer.uasset index 9e61987..e398ad8 100644 Binary files a/Content/Blueprints/BP_Chainer.uasset and b/Content/Blueprints/BP_Chainer.uasset differ diff --git a/Content/Blueprints/BP_FirekrackersGameInstance.uasset b/Content/Blueprints/BP_FirekrackersGameInstance.uasset index 6b519b2..a05a32f 100644 Binary files a/Content/Blueprints/BP_FirekrackersGameInstance.uasset and b/Content/Blueprints/BP_FirekrackersGameInstance.uasset differ diff --git a/Content/Blueprints/BP_FireworksPawn.uasset b/Content/Blueprints/BP_FireworksPawn.uasset index 9d639c8..429f97d 100644 Binary files a/Content/Blueprints/BP_FireworksPawn.uasset and b/Content/Blueprints/BP_FireworksPawn.uasset differ diff --git a/Content/Blueprints/UI/BP_WristMenu.uasset b/Content/Blueprints/UI/BP_WristMenu.uasset index 00edd88..38d5253 100644 Binary files a/Content/Blueprints/UI/BP_WristMenu.uasset and b/Content/Blueprints/UI/BP_WristMenu.uasset differ diff --git a/Content/Levels/L_Level1.uasset b/Content/Levels/L_Level1.uasset index d4653c8..7163861 100644 Binary files a/Content/Levels/L_Level1.uasset and b/Content/Levels/L_Level1.uasset differ diff --git a/Content/Levels/L_Level10.uasset b/Content/Levels/L_Level10.uasset index eb69a9d..cfaa38d 100644 Binary files a/Content/Levels/L_Level10.uasset and b/Content/Levels/L_Level10.uasset differ diff --git a/Content/Levels/L_Level11.uasset b/Content/Levels/L_Level11.uasset index 2b95bcc..a73c068 100644 Binary files a/Content/Levels/L_Level11.uasset and b/Content/Levels/L_Level11.uasset differ diff --git a/Content/Levels/L_Level12.uasset b/Content/Levels/L_Level12.uasset index 8da7b1c..d50128d 100644 Binary files a/Content/Levels/L_Level12.uasset and b/Content/Levels/L_Level12.uasset differ diff --git a/Content/Levels/L_Level13.uasset b/Content/Levels/L_Level13.uasset index 763d54e..e81536a 100644 Binary files a/Content/Levels/L_Level13.uasset and b/Content/Levels/L_Level13.uasset differ diff --git a/Content/Levels/L_Level14.uasset b/Content/Levels/L_Level14.uasset index fc7e72e..9179826 100644 Binary files a/Content/Levels/L_Level14.uasset and b/Content/Levels/L_Level14.uasset differ diff --git a/Content/Levels/L_Level15.uasset b/Content/Levels/L_Level15.uasset index 25564cf..d5dc3e0 100644 Binary files a/Content/Levels/L_Level15.uasset and b/Content/Levels/L_Level15.uasset differ diff --git a/Content/Levels/L_Level16.uasset b/Content/Levels/L_Level16.uasset index 9257c42..f286a91 100644 Binary files a/Content/Levels/L_Level16.uasset and b/Content/Levels/L_Level16.uasset differ diff --git a/Content/Levels/L_Level17.uasset b/Content/Levels/L_Level17.uasset index fecdea8..cc9f630 100644 Binary files a/Content/Levels/L_Level17.uasset and b/Content/Levels/L_Level17.uasset differ diff --git a/Content/Levels/L_Level18.uasset b/Content/Levels/L_Level18.uasset index 968d207..6c1e290 100644 Binary files a/Content/Levels/L_Level18.uasset and b/Content/Levels/L_Level18.uasset differ diff --git a/Content/Levels/L_Level19.uasset b/Content/Levels/L_Level19.uasset index 450da09..0666f57 100644 Binary files a/Content/Levels/L_Level19.uasset and b/Content/Levels/L_Level19.uasset differ diff --git a/Content/Levels/L_Level2.uasset b/Content/Levels/L_Level2.uasset index 6e41f5e..4ba68c6 100644 Binary files a/Content/Levels/L_Level2.uasset and b/Content/Levels/L_Level2.uasset differ diff --git a/Content/Levels/L_Level20.uasset b/Content/Levels/L_Level20.uasset index b9cd8df..c276a9e 100644 Binary files a/Content/Levels/L_Level20.uasset and b/Content/Levels/L_Level20.uasset differ diff --git a/Content/Levels/L_Level21.uasset b/Content/Levels/L_Level21.uasset index c6ea0b0..0e92d16 100644 Binary files a/Content/Levels/L_Level21.uasset and b/Content/Levels/L_Level21.uasset differ diff --git a/Content/Levels/L_Level22.uasset b/Content/Levels/L_Level22.uasset index edefbcb..6bbd005 100644 Binary files a/Content/Levels/L_Level22.uasset and b/Content/Levels/L_Level22.uasset differ diff --git a/Content/Levels/L_Level23.uasset b/Content/Levels/L_Level23.uasset index ef012da..e053044 100644 Binary files a/Content/Levels/L_Level23.uasset and b/Content/Levels/L_Level23.uasset differ diff --git a/Content/Levels/L_Level24.uasset b/Content/Levels/L_Level24.uasset index 88363c5..69f2249 100644 Binary files a/Content/Levels/L_Level24.uasset and b/Content/Levels/L_Level24.uasset differ diff --git a/Content/Levels/L_Level25.uasset b/Content/Levels/L_Level25.uasset index 701b46b..6507502 100644 Binary files a/Content/Levels/L_Level25.uasset and b/Content/Levels/L_Level25.uasset differ diff --git a/Content/Levels/L_Level26.uasset b/Content/Levels/L_Level26.uasset index 8fd09a9..4350e8a 100644 Binary files a/Content/Levels/L_Level26.uasset and b/Content/Levels/L_Level26.uasset differ diff --git a/Content/Levels/L_Level27.uasset b/Content/Levels/L_Level27.uasset index 72e017a..c48b623 100644 Binary files a/Content/Levels/L_Level27.uasset and b/Content/Levels/L_Level27.uasset differ diff --git a/Content/Levels/L_Level28.uasset b/Content/Levels/L_Level28.uasset index 92cc10b..319edc7 100644 Binary files a/Content/Levels/L_Level28.uasset and b/Content/Levels/L_Level28.uasset differ diff --git a/Content/Levels/L_Level29.uasset b/Content/Levels/L_Level29.uasset index 78f5770..a228a2c 100644 Binary files a/Content/Levels/L_Level29.uasset and b/Content/Levels/L_Level29.uasset differ diff --git a/Content/Levels/L_Level3.uasset b/Content/Levels/L_Level3.uasset index 2a53e09..4169f24 100644 Binary files a/Content/Levels/L_Level3.uasset and b/Content/Levels/L_Level3.uasset differ diff --git a/Content/Levels/L_Level30.uasset b/Content/Levels/L_Level30.uasset index bad4465..2c6b6d9 100644 Binary files a/Content/Levels/L_Level30.uasset and b/Content/Levels/L_Level30.uasset differ diff --git a/Content/Levels/L_Level4.uasset b/Content/Levels/L_Level4.uasset index b45b01e..86f26cc 100644 Binary files a/Content/Levels/L_Level4.uasset and b/Content/Levels/L_Level4.uasset differ diff --git a/Content/Levels/L_Level5.uasset b/Content/Levels/L_Level5.uasset index 51563bc..9e3647c 100644 Binary files a/Content/Levels/L_Level5.uasset and b/Content/Levels/L_Level5.uasset differ diff --git a/Content/Levels/L_Level6.uasset b/Content/Levels/L_Level6.uasset index c5ba945..9d2eeb3 100644 Binary files a/Content/Levels/L_Level6.uasset and b/Content/Levels/L_Level6.uasset differ diff --git a/Content/Levels/L_Level7.uasset b/Content/Levels/L_Level7.uasset index 4f1e571..e917e1c 100644 Binary files a/Content/Levels/L_Level7.uasset and b/Content/Levels/L_Level7.uasset differ diff --git a/Content/Levels/L_Level8.uasset b/Content/Levels/L_Level8.uasset index ab9f0fe..12c0839 100644 Binary files a/Content/Levels/L_Level8.uasset and b/Content/Levels/L_Level8.uasset differ diff --git a/Content/Levels/L_Level9.uasset b/Content/Levels/L_Level9.uasset index a4ba4e4..e4c94df 100644 Binary files a/Content/Levels/L_Level9.uasset and b/Content/Levels/L_Level9.uasset differ diff --git a/Content/Levels/L_MainLevel.umap b/Content/Levels/L_MainLevel.umap index a6ac581..c13eafc 100644 Binary files a/Content/Levels/L_MainLevel.umap and b/Content/Levels/L_MainLevel.umap differ diff --git a/Content/UI/W_AfterMatch.uasset b/Content/UI/W_AfterMatch.uasset index 751ef15..1c4854a 100644 Binary files a/Content/UI/W_AfterMatch.uasset and b/Content/UI/W_AfterMatch.uasset differ diff --git a/Content/UI/W_MainMenu_Bottom.uasset b/Content/UI/W_MainMenu_Bottom.uasset index 3406c96..5ba3877 100644 Binary files a/Content/UI/W_MainMenu_Bottom.uasset and b/Content/UI/W_MainMenu_Bottom.uasset differ diff --git a/Content/UI/W_Shop.uasset b/Content/UI/W_Shop.uasset index 853155c..b86a028 100644 Binary files a/Content/UI/W_Shop.uasset and b/Content/UI/W_Shop.uasset differ diff --git a/FireworkDuels.uproject b/FireworkDuels.uproject index 4ed4863..cc7ff38 100644 --- a/FireworkDuels.uproject +++ b/FireworkDuels.uproject @@ -22,11 +22,11 @@ ] }, { - "Name": "OculusVR", + "Name": "SteamVR", "Enabled": true, "SupportedTargetPlatforms": [ "Win64", - "Android" + "Linux" ] } ], diff --git a/Source/FireworkDuels/EditPermissions_UPL.xml b/Source/FireworkDuels/EditPermissions_UPL.xml new file mode 100644 index 0000000..361567e --- /dev/null +++ b/Source/FireworkDuels/EditPermissions_UPL.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Source/FireworkDuels/FireworkDuels.Build.cs b/Source/FireworkDuels/FireworkDuels.Build.cs index 741b3b9..85ed874 100644 --- a/Source/FireworkDuels/FireworkDuels.Build.cs +++ b/Source/FireworkDuels/FireworkDuels.Build.cs @@ -1,5 +1,6 @@ // Copyright Epic Games, Inc. All Rights Reserved. +using System.IO; using UnrealBuildTool; public class FireworkDuels : ModuleRules @@ -12,6 +13,12 @@ public class FireworkDuels : ModuleRules PrivateDependencyModuleNames.AddRange(new string[] { }); + if(Target.Platform == UnrealTargetPlatform.Android) + { + var manifestFile = Path.Combine(ModuleDirectory, "EditPermissions_UPL.xml"); + AdditionalPropertiesForReceipt.Add("AndroidPlugin", manifestFile); + } + // Uncomment if you are using Slate UI // PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" }); diff --git a/Source/FireworkDuels/FireworksPawn.cpp b/Source/FireworkDuels/FireworksPawn.cpp index b2667ef..6b36222 100644 --- a/Source/FireworkDuels/FireworksPawn.cpp +++ b/Source/FireworkDuels/FireworksPawn.cpp @@ -109,13 +109,14 @@ void AFireworksPawn::SetupPlayerInputComponent(UInputComponent* PlayerInputCompo void AFireworksPawn::SetupGrabAttachment(EControllerHand Hand) { FName Socket = Hand == EControllerHand::Left ? TEXT("SocketL") : TEXT("SocketR"); APickableObject* HeldObject = Hand == EControllerHand::Left ? HeldObject_L : HeldObject_R; + USkeletalMeshComponent* HandMesh = Hand == EControllerHand::Left ? LeftHandMesh : RightHandMesh; FTransform HeldObjectTransformLocal = HeldObject->StaticMesh->GetSocketTransform(Socket, ERelativeTransformSpace::RTS_Actor); // Set new values FTransform NewTransform; NewTransform.SetScale3D(FVector(1.f, 1.f, 1.f)); - NewTransform.SetLocation(FVector(0.f, 0.f, 0.f)); + NewTransform.SetLocation(IsSteamVR ? FVector(-10.f, 0.f, 0.f) : FVector(0.f, 0.f, 0.f)); NewTransform.SetRotation(HeldObjectTransformLocal.GetRotation().Inverse()); // Set new transform @@ -137,7 +138,7 @@ bool AFireworksPawn::TryGrab(EControllerHand Hand) HoveredActorL->StaticMesh->SetSimulatePhysics(false); HoveredActorL->StaticMesh->SetRenderCustomDepth(false); HeldObject_L = HoveredActorL; - HeldObject_L->AttachToComponent(MotionControllerL, FAttachmentTransformRules::KeepRelativeTransform); + HeldObject_L->AttachToComponent(MotionControllerL, FAttachmentTransformRules::KeepWorldTransform); SetupGrabAttachment(EControllerHand::Left); HeldObject_L->SetInstigator(this); IsGrabbingL = true; @@ -155,7 +156,7 @@ bool AFireworksPawn::TryGrab(EControllerHand Hand) HoveredActorR->StaticMesh->SetSimulatePhysics(false); HoveredActorR->StaticMesh->SetRenderCustomDepth(false); HeldObject_R = HoveredActorR; - HeldObject_R->StaticMesh->AttachToComponent(MotionControllerR, FAttachmentTransformRules::KeepRelativeTransform); + HeldObject_R->AttachToComponent(MotionControllerR, FAttachmentTransformRules::KeepWorldTransform); SetupGrabAttachment(EControllerHand::Right); HeldObject_R->SetInstigator(this); IsGrabbingR = true; diff --git a/Source/FireworkDuels/FireworksPawn.h b/Source/FireworkDuels/FireworksPawn.h index 2c9fb0a..d5b0610 100644 --- a/Source/FireworkDuels/FireworksPawn.h +++ b/Source/FireworkDuels/FireworksPawn.h @@ -133,6 +133,9 @@ public: UPROPERTY(EditAnywhere, BlueprintReadWrite) EControllerHand DominatingHand = EControllerHand::Right; + UPROPERTY(EditDefaultsOnly, BlueprintReadWrite) + bool IsSteamVR = false; + // Functions // Try to grab object diff --git a/Source/FireworkDuels/Private/LevelTemplate.cpp b/Source/FireworkDuels/Private/LevelTemplate.cpp index 91919f5..a1d4a8b 100644 --- a/Source/FireworkDuels/Private/LevelTemplate.cpp +++ b/Source/FireworkDuels/Private/LevelTemplate.cpp @@ -39,8 +39,19 @@ float ALevelTemplate::StopGame() { } int32 ALevelTemplate::GetAwardStars() { - if (GameTime < ThreeStarTarget) return 3; - if (GameTime < TwoStarTarget) return 2; - if (GameTime < OneStarTarget) return 1; - return 0; + if (GameTime <= ThreeStarTarget) + { + return 3; + } + else if (GameTime <= TwoStarTarget) + { + return 2; + } + else if (GameTime <= OneStarTarget) + { + return 1; + } + else { + return 0; + } } \ No newline at end of file diff --git a/Source/FireworkDuels/Public/LevelTemplate.h b/Source/FireworkDuels/Public/LevelTemplate.h index 6d72469..279a155 100644 --- a/Source/FireworkDuels/Public/LevelTemplate.h +++ b/Source/FireworkDuels/Public/LevelTemplate.h @@ -21,13 +21,13 @@ public: UPaperTileMapComponent* Template; UPROPERTY(EditDefaultsOnly, BlueprintReadWrite) - int32 OneStarTarget = 180; + float OneStarTarget = 180.f; UPROPERTY(EditDefaultsOnly, BlueprintReadWrite) - int32 TwoStarTarget = 120; + float TwoStarTarget = 120.f; UPROPERTY(EditDefaultsOnly, BlueprintReadWrite) - int32 ThreeStarTarget = 60; + float ThreeStarTarget = 60.f; UPROPERTY(VisibleAnywhere, BlueprintReadOnly) float GameTime = 0.f;