*Lab 5
This commit is contained in:
parent
88cad2ee99
commit
af6322b525
|
@ -184,7 +184,7 @@ DoubleClickTime=0.200000
|
|||
+AxisMappings=(AxisName="MovementAxisRight_Y",Scale=1.000000,Key=ValveIndex_Right_Thumbstick_Y)
|
||||
+AxisMappings=(AxisName="MovementAxisRight_Y",Scale=1.000000,Key=MixedReality_Right_Thumbstick_Y)
|
||||
+AxisMappings=(AxisName="MovementAxisRight_Y",Scale=1.000000,Key=Vive_Right_Trackpad_Y)
|
||||
+AxisMappings=(AxisName="MovementAxisRight_Y",Scale=1.000000,Key=OculusTouch_Right_A_Click)
|
||||
+AxisMappings=(AxisName="TeleportAxis",Scale=1.000000,Key=OculusTouch_Right_A_Click)
|
||||
DefaultPlayerInputClass=/Script/Engine.PlayerInput
|
||||
DefaultInputComponentClass=/Script/Engine.InputComponent
|
||||
DefaultTouchInterface=None
|
||||
|
|
Binary file not shown.
BIN
Content/VRTemplate/Blueprints/VRPawn.uasset (Stored with Git LFS)
BIN
Content/VRTemplate/Blueprints/VRPawn.uasset (Stored with Git LFS)
Binary file not shown.
|
@ -0,0 +1,51 @@
|
|||
setlocal
|
||||
if NOT "%UE_SDKS_ROOT%"=="" (call %UE_SDKS_ROOT%\HostWin64\Android\SetupEnvironmentVars.bat)
|
||||
set ANDROIDHOME=%ANDROID_HOME%
|
||||
if "%ANDROIDHOME%"=="" set ANDROIDHOME=C:\Users\helenaso\AppData\Local\Android\Sdk
|
||||
set ADB=%ANDROIDHOME%\platform-tools\adb.exe
|
||||
set DEVICE=
|
||||
if not "%1"=="" set DEVICE=-s %1
|
||||
for /f "delims=" %%A in ('%ADB% %DEVICE% shell "echo $EXTERNAL_STORAGE"') do @set STORAGE=%%A
|
||||
@echo.
|
||||
@echo Uninstalling existing application. Failures here can almost always be ignored.
|
||||
%ADB% %DEVICE% uninstall com.epicgames.VR_HelloWorld
|
||||
@echo.
|
||||
@echo Installing existing application. Failures here indicate a problem with the device (connection or storage permissions) and are fatal.
|
||||
%ADB% %DEVICE% install VR_HelloWorld-arm64.apk
|
||||
@if "%ERRORLEVEL%" NEQ "0" goto Error
|
||||
%ADB% %DEVICE% shell rm -r %STORAGE%/UE4Game/VR_HelloWorld
|
||||
%ADB% %DEVICE% shell rm -r %STORAGE%/UE4Game/UE4CommandLine.txt
|
||||
%ADB% %DEVICE% shell rm -r %STORAGE%/obb/com.epicgames.VR_HelloWorld
|
||||
%ADB% %DEVICE% shell rm -r %STORAGE%/Android/obb/com.epicgames.VR_HelloWorld
|
||||
%ADB% %DEVICE% shell rm -r %STORAGE%/Download/obb/com.epicgames.VR_HelloWorld
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@echo.
|
||||
@echo Grant READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE to the apk for reading OBB file or game file in external storage.
|
||||
%ADB% %DEVICE% shell pm grant com.epicgames.VR_HelloWorld android.permission.READ_EXTERNAL_STORAGE
|
||||
%ADB% %DEVICE% shell pm grant com.epicgames.VR_HelloWorld android.permission.WRITE_EXTERNAL_STORAGE
|
||||
|
||||
@echo.
|
||||
@echo Installation successful
|
||||
goto:eof
|
||||
:Error
|
||||
@echo.
|
||||
@echo There was an error installing the game or the obb file. Look above for more info.
|
||||
@echo.
|
||||
@echo Things to try:
|
||||
@echo Check that the device (and only the device) is listed with "%ADB$ devices" from a command prompt.
|
||||
@echo Make sure all Developer options look normal on the device
|
||||
@echo Check that the device has an SD card.
|
||||
@pause
|
|
@ -0,0 +1,51 @@
|
|||
setlocal
|
||||
if NOT "%UE_SDKS_ROOT%"=="" (call %UE_SDKS_ROOT%\HostWin64\Android\SetupEnvironmentVars.bat)
|
||||
set ANDROIDHOME=%ANDROID_HOME%
|
||||
if "%ANDROIDHOME%"=="" set ANDROIDHOME=C:\Users\helenaso\AppData\Local\Android\Sdk
|
||||
set ADB=%ANDROIDHOME%\platform-tools\adb.exe
|
||||
set DEVICE=
|
||||
if not "%1"=="" set DEVICE=-s %1
|
||||
for /f "delims=" %%A in ('%ADB% %DEVICE% shell "echo $EXTERNAL_STORAGE"') do @set STORAGE=%%A
|
||||
@echo.
|
||||
@echo Uninstalling existing application. Failures here can almost always be ignored.
|
||||
%ADB% %DEVICE% uninstall com.epicgames.VR_HelloWorld
|
||||
@echo.
|
||||
@echo Installing existing application. Failures here indicate a problem with the device (connection or storage permissions) and are fatal.
|
||||
%ADB% %DEVICE% install VR_HelloWorld-armv7.apk
|
||||
@if "%ERRORLEVEL%" NEQ "0" goto Error
|
||||
%ADB% %DEVICE% shell rm -r %STORAGE%/UE4Game/VR_HelloWorld
|
||||
%ADB% %DEVICE% shell rm -r %STORAGE%/UE4Game/UE4CommandLine.txt
|
||||
%ADB% %DEVICE% shell rm -r %STORAGE%/obb/com.epicgames.VR_HelloWorld
|
||||
%ADB% %DEVICE% shell rm -r %STORAGE%/Android/obb/com.epicgames.VR_HelloWorld
|
||||
%ADB% %DEVICE% shell rm -r %STORAGE%/Download/obb/com.epicgames.VR_HelloWorld
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@echo.
|
||||
@echo Grant READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE to the apk for reading OBB file or game file in external storage.
|
||||
%ADB% %DEVICE% shell pm grant com.epicgames.VR_HelloWorld android.permission.READ_EXTERNAL_STORAGE
|
||||
%ADB% %DEVICE% shell pm grant com.epicgames.VR_HelloWorld android.permission.WRITE_EXTERNAL_STORAGE
|
||||
|
||||
@echo.
|
||||
@echo Installation successful
|
||||
goto:eof
|
||||
:Error
|
||||
@echo.
|
||||
@echo There was an error installing the game or the obb file. Look above for more info.
|
||||
@echo.
|
||||
@echo Things to try:
|
||||
@echo Check that the device (and only the device) is listed with "%ADB$ devices" from a command prompt.
|
||||
@echo Make sure all Developer options look normal on the device
|
||||
@echo Check that the device has an SD card.
|
||||
@pause
|
|
@ -0,0 +1,19 @@
|
|||
setlocal
|
||||
if NOT "%UE_SDKS_ROOT%"=="" (call %UE_SDKS_ROOT%\HostWin64\Android\SetupEnvironmentVars.bat)
|
||||
set ANDROIDHOME=%ANDROID_HOME%
|
||||
if "%ANDROIDHOME%"=="" set ANDROIDHOME=C:\Users\helenaso\AppData\Local\Android\Sdk
|
||||
set ADB=%ANDROIDHOME%\platform-tools\adb.exe
|
||||
set DEVICE=
|
||||
if not "%1"=="" set DEVICE=-s %1
|
||||
for /f "delims=" %%A in ('%ADB% %DEVICE% shell "echo $EXTERNAL_STORAGE"') do @set STORAGE=%%A
|
||||
@echo.
|
||||
@echo Uninstalling existing application. Failures here can almost always be ignored.
|
||||
%ADB% %DEVICE% uninstall com.epicgames.VR_HelloWorld
|
||||
@echo.
|
||||
echo Removing old data. Failures here are usually fine - indicating the files were not on the device.
|
||||
%ADB% %DEVICE% shell rm -r %STORAGE%/UE4Game/VR_HelloWorld
|
||||
%ADB% %DEVICE% shell rm -r %STORAGE%/UE4Game/UE4CommandLine.txt
|
||||
%ADB% %DEVICE% shell rm -r %STORAGE%/obb/com.epicgames.VR_HelloWorld
|
||||
%ADB% %DEVICE% shell rm -r %STORAGE%/Android/obb/com.epicgames.VR_HelloWorld
|
||||
@echo.
|
||||
@echo Uninstall completed
|
|
@ -0,0 +1,19 @@
|
|||
setlocal
|
||||
if NOT "%UE_SDKS_ROOT%"=="" (call %UE_SDKS_ROOT%\HostWin64\Android\SetupEnvironmentVars.bat)
|
||||
set ANDROIDHOME=%ANDROID_HOME%
|
||||
if "%ANDROIDHOME%"=="" set ANDROIDHOME=C:\Users\helenaso\AppData\Local\Android\Sdk
|
||||
set ADB=%ANDROIDHOME%\platform-tools\adb.exe
|
||||
set DEVICE=
|
||||
if not "%1"=="" set DEVICE=-s %1
|
||||
for /f "delims=" %%A in ('%ADB% %DEVICE% shell "echo $EXTERNAL_STORAGE"') do @set STORAGE=%%A
|
||||
@echo.
|
||||
@echo Uninstalling existing application. Failures here can almost always be ignored.
|
||||
%ADB% %DEVICE% uninstall com.epicgames.VR_HelloWorld
|
||||
@echo.
|
||||
echo Removing old data. Failures here are usually fine - indicating the files were not on the device.
|
||||
%ADB% %DEVICE% shell rm -r %STORAGE%/UE4Game/VR_HelloWorld
|
||||
%ADB% %DEVICE% shell rm -r %STORAGE%/UE4Game/UE4CommandLine.txt
|
||||
%ADB% %DEVICE% shell rm -r %STORAGE%/obb/com.epicgames.VR_HelloWorld
|
||||
%ADB% %DEVICE% shell rm -r %STORAGE%/Android/obb/com.epicgames.VR_HelloWorld
|
||||
@echo.
|
||||
@echo Uninstall completed
|
Binary file not shown.
Binary file not shown.
|
@ -12,15 +12,6 @@
|
|||
"Name": "ResonanceAudio",
|
||||
"Enabled": true
|
||||
},
|
||||
{
|
||||
"Name": "OculusVR",
|
||||
"Enabled": false,
|
||||
"SupportedTargetPlatforms": [
|
||||
"Win32",
|
||||
"Win64",
|
||||
"Android"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "OpenXR",
|
||||
"Enabled": true,
|
||||
|
|
Loading…
Reference in New Issue