Commit Graph

79 Commits

Author SHA1 Message Date
ben hoffman
4de38291bf Fix an erroneous space in android input interface
#jira none
#rb trivial
#rnx
#preflight skip

[CL 20145470 by ben hoffman in ue5-main branch]
2022-05-11 14:16:44 -04:00
ben hoffman
e52b6b378a Update the Android input interface to utilize the new Platform Input Device mapper instead of the old CoreDelegates for when input device connection changes happen.
Replace uses of the old "int32 ControllerID" in favor of the new platform input device mapper. The new input device mapper will still call the old CoreDelegates until they are deprecated/removed, so there is no behavioral change here. Using the platform input device mapper will allow us to pass specific Input Device ID's around to slate and the game, so that we can properly route input events to and from specific devices.

#jira UE-147796
#rb david.harvey
#rb Chris.Babcock
#preflight 6273ebe6ca0ad32a967fbd5e

[CL 20144897 by ben hoffman in ue5-main branch]
2022-05-11 13:54:57 -04:00
Chris Babcock
3cba90fb40 Add r.Mobile.DesiredResX/Y for Android and -mobileresx and -mobileresy commandline overrides
#jira UE-144742
#android
#review @Jack.Porter
#rb Jack.Porter

#preflight https://horde.devtools.epicgames.com/job/6272ceb83e1f2a9d3a903d7a

[CL 20046802 by Chris Babcock in ue5-main branch]
2022-05-04 15:15:55 -04:00
julian smart
ddd8c17323 When Android.UnifyMotionSpace is set to 2, make sure rotation rate is right-screw
#jira UE-138975


#ROBOMERGE-AUTHOR: julian.smart
#ROBOMERGE-SOURCE: CL 19401935 via CL 19401938 via CL 19403679 via CL 19403971 via CL 19403983
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19406674 by julian smart in ue5-main branch]
2022-03-16 11:56:21 -04:00
julian smart
70107c8499 CVar Android.UnifyMotionSpace can now be set to 1 to match Unreal space, 2 to swap X and Y and make it right-handed (since most systems are right handed)
#jira UE-138975

[FYI] Chris.Babcock

#ROBOMERGE-AUTHOR: julian.smart
#ROBOMERGE-SOURCE: CL 19401343 via CL 19401345 via CL 19401533 via CL 19403492 via CL 19403639
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19406667 by julian smart in ue5-main branch]
2022-03-16 11:55:57 -04:00
julian smart
a09d660e19 Portrait to match landscape axes on Android
#ROBOMERGE-AUTHOR: julian.smart
#ROBOMERGE-SOURCE: CL 18670274 via CL 18670279 via CL 18670282 via CL 18670285 via CL 18670394 via CL 18670399 via CL 18670402
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v901-18665521)

[CL 18670411 by julian smart in ue5-main branch]
2022-01-19 21:13:58 -05:00
julian smart
a3ff3d3e0e One more change to Android.UnifyMotionSpace while it's still new: Match Unreal's coordinate system. This means left-handed, left-screw, Z-up, etc.
#jira UE-138975


#ROBOMERGE-AUTHOR: julian.smart
#ROBOMERGE-SOURCE: CL 18615234 via CL 18615240 via CL 18615244 via CL 18615246 via CL 18615306 via CL 18615315 via CL 18615324
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18615329 by julian smart in ue5-main branch]
2022-01-14 03:17:19 -05:00
julian smart
dabe6c313d Android.UnifyMotionSpace should apply to Portrait device orientation, too.
#jira UE-138975

[FYI] jack.porter, andy.davidson

#ROBOMERGE-AUTHOR: julian.smart
#ROBOMERGE-SOURCE: CL 18614352 via CL 18614366 via CL 18614375 via CL 18614387 via CL 18614506 via CL 18614517 via CL 18614522
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18614527 by julian smart in ue5-main branch]
2022-01-13 23:16:14 -05:00
julian smart
ec0fad4c0f Fixed Android compile error
#ROBOMERGE-AUTHOR: julian.smart
#ROBOMERGE-SOURCE: CL 18613222 via CL 18613240 via CL 18613255 via CL 18613267 via CL 18614278 via CL 18614348 via CL 18614384
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18614412 by julian smart in ue5-main branch]
2022-01-13 22:55:45 -05:00
julian smart
40eecd08f0 On Android, we automatically change rotation rate input motion depending on whether the device is in landscape mode (and which direction), but we don't actually change the other motion inputs with it, so they no longer correlate.
#jira UE-138975

This change introduces the CVar Android.UnifyMotionSpace, which we can enable to have the other motion inputs changed with rotation rate so that they correlate. Enabling this CVar also changes acceleration input to be reported in g units instead of m/s^2, since that's what we're doing on most other platforms.

My hope is to add corresponding "UnifyMotionSpace" CVars to other platforms that will make motion input consistent across all platforms:
- Have acceleration axes always correlate with rotation rate axes;
- Have these axes consistent across platforms (same forward direction, same up/down direction, etc);
- Use radians per second for rotation rate and g units for acceleration;

[FYI] andy.davidson, jack.porter

#ROBOMERGE-AUTHOR: julian.smart
#ROBOMERGE-SOURCE: CL 18612587 via CL 18612619 via CL 18612631 via CL 18612638 via CL 18614271 via CL 18614345 via CL 18614381
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18614409 by julian smart in ue5-main branch]
2022-01-13 22:55:36 -05:00
Marc Audy
c43360f47c Eliminate whitespace only differences between Release-Engine-Staging and Release-Engine-Test
#[fyi] Aurel.Cordonnier

#ushell-cherrypick of 18448630 by Marc.Audy
#preflight none

[CL 18483677 by Marc Audy in ue5-main branch]
2021-12-17 03:41:59 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
ben zeigler
7c70bdebb8 #jira UE-125298 First set changes for distinguishing between platform user id and controller/input id
Change FPlatformUserId into a proper struct with an internal id that will be allocated by the platform
Converting int->FPlatformUserId is currently deprecated, but the other direction is not deprecated until the online/input code can be converted
GenericApplicaitonMessageHandler will convert back and forth between controller Id and FPlatformUserId as needed
Add support for platform user id to LocalPlayer, by default it is synchronized with ControllerId
#rb david.harvey, ben.hoffman

#ROBOMERGE-AUTHOR: ben.zeigler
#ROBOMERGE-SOURCE: CL 17597808 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17597827 by ben zeigler in ue5-release-engine-test branch]
2021-09-22 13:39:56 -04:00
andrew davidson
ffa1d5ca26 LWC support for FQuat and FTransform
Merge Dev-LargeWorldCoordinates [at] 17289670

#preflight 6125fb6925057900014f2cd6

#ROBOMERGE-SOURCE: CL 17300515 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17300523 by andrew davidson in ue5-release-engine-test branch]
2021-08-25 06:26:44 -04:00
aurel cordonnier
dc4bf61540 Merge from Release-Engine-Staging @ 17030559 to Release-Engine-Test
This represents UE4/Main @ 17030256 and Dev-PerfTest @ 17030553

[CL 17031509 by aurel cordonnier in ue5-release-engine-test branch]
2021-08-03 11:56:47 -04:00
florin pascu
5c1e32c73c RG11B10 + SceneDepthAux 16/32F + Alpha Propagate
For Forward ES31
 Default SceneColor RG11B10 + R16F\32F Depth texture
 With PropagateAlpha on RGBA16F + R16F\32F
 PostProcess we sample SceneDepthAux for Depth
For Deferred ES31
 SceneDepthAux only for Metal
 PropagateAlpha not working yet
 PostProcess we sample SceneDepthTexture for Depth

cvar to change Depth texture from 16 to 32Fr.Mobile.SceneDepthAux
cvar for AlphaPropagate r.Mobile.PropagateAlpha
#jira UE-98033
#rb Dmitriy.Dyomin, Carl.Lloyd, Jack.Porter

#ROBOMERGE-SOURCE: CL 16644095 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v833-16641396)

[CL 16644108 by florin pascu in ue5-release-engine-test branch]
2021-06-11 13:47:20 -04:00
jack porter
946b30a59a Remove UE3/UE4 references
#jira UE-112108
#jira UE-111469
#jira UE-111456
#jira UE-111451
#jira UE-111331
#jira UE-111149
#jira UE-111136
#jira UE-110941
#jira UE-104701
#rb trivial
[FYI] Chris.Babcock
#preflight 606446947a99880001b3cbac

#ROBOMERGE-SOURCE: CL 15872931 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15872932 by jack porter in ue5-main branch]
2021-03-31 06:40:14 -04:00
Marc Audy
8f73cd7fa9 Merge UE5/Release-Engine-Staging @ 15630841 to UE5/Main
This represents UE4/Main @ 15601601

[CL 15631170 by Marc Audy in ue5-main branch]
2021-03-05 19:27:14 -04:00
Marc Audy
9753392e2b Merge UE5/RES CL# 15462083 to UE5/Main
This represents UE4/Main @ 15414221

[CL 15463811 by Marc Audy in ue5-main branch]
2021-02-18 18:13:28 -04:00
Marc Audy
cac1fe0019 Merge UE5/Release-Engine-Staging @ CL# 15299266 to UE5/Main
This represents UE4/Main @ CL# 15277572

[CL 15299962 by Marc Audy in ue5-main branch]
2021-02-03 14:57:28 -04:00
Chris Babcock
a2d9bd542e Change Android class names from ue4 to unreal
#jira UE-104943
#ue5
#android
#review @Jack.Porter
#rb Jack.Porter

[CL 15284943 by Chris Babcock in ue5-main branch]
2021-02-02 17:21:35 -04:00
Marc Audy
bf80889353 UE5/Release-Engine-Staging to UE5/Main
This represents UE4/Main up to CL# 14958402

[CL 15028197 by Marc Audy in ue5-main branch]
2021-01-08 19:56:07 -04:00
Marc Audy
50a3d7d368 Merge Release-Engine-Staging to Main @ CL# 14467590
This represents UE4/Main @ 14432125 + some cherrypick fixes

[CL 14468207 by Marc Audy in ue5-main branch]
2020-10-09 22:42:26 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00