Commit Graph

15 Commits

Author SHA1 Message Date
michael noland
c8dc8362b7 Prevent a crash when there is more than one kind of UPlatformSettings usage in a project
- Removed the problematic static that caused the crash and introduced a new caching system via a UPlatformSettingsManager class that keeps explicit references to the settings instead of adding them to the root
- Switched the platform names to be more consistently FName instead of roundtripping through FString

- Slightly unrelated: Added DeterminesOutputType metadata to FindParentWidgetOfType to avoid needing an extra cast in typical usage

#jira UE-142875
#rb nick.darnell
#preflight 620c788a252ef638b5806fd7

#ROBOMERGE-AUTHOR: michael.noland
#ROBOMERGE-SOURCE: CL 19060400 in //UE5/Release-5.0/... via CL 19076932
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19120907 by michael noland in ue5-main branch]
2022-02-24 14:23:31 -05:00
Prajwal Manjunath
7033d01101 ActionDomains - A system for managing input event flows in CommonUIActionRouter
#rb daren.cheng
#preflight 18656597

[CL 18805510 by Prajwal Manjunath in ue5-main branch]
2022-01-31 23:46:45 -05:00
ben zeigler
987e890f04 Fix several shutdown crashes
#jira UE-139867
#rb none
#preflight 61eafb3aea0da8133dd23dc7

#ROBOMERGE-AUTHOR: ben.zeigler
#ROBOMERGE-SOURCE: CL 18692405 in //UE5/Release-5.0/... via CL 18692705 via CL 18692882
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18693129 by ben zeigler in ue5-main branch]
2022-01-21 14:13:42 -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
Andriy Tylychko
2a295eb685 deprecated FTicker and family and replaced by thread-safe FTSTicker
#jira UE-120090
#rb francis.hurteau

[CL 17176325 by Andriy Tylychko in ue5-main branch]
2021-08-16 11:05:18 -04:00
aurel cordonnier
dc856801cd Merge from Release-Engine-Test @ 17059716 to UE5/Main
This represents UE4/Main @ 17030256 and Dev-PerfTest @ 17029914

[CL 17060422 by aurel cordonnier in ue5-main branch]
2021-08-04 17:46:20 -04:00
aurel cordonnier
d17d20ca36 Merge from Release-Engine-Test @ 16758890 to UE5/Main
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719 (and Release-17.00 @ 16658211)

[CL 16763350 by aurel cordonnier in ue5-main branch]
2021-06-23 17:51:32 -04:00
Michael Noland
71e67fa467 CommonUI: Slight optimization to input autodetection to avoid doing it when the most recently seen FInputDeviceScope IDs haven't changed
[CL 16716961 by Michael Noland in ue5-main branch]
2021-06-18 01:02:07 -04:00
Michael Noland
495347ab9b CommonUI: Add limited support for gamepad type autodetection based on any active FInputDeviceScope
- The detection criteria can be defined in gamepad assets
- Limited because XInput makes it totally impossible to distinguish between different controller types (other plugin sources will still work), so to preserve the ability to set a preference in project settings the logic prefers to stick with an existing match rather than switching to something else, but otherwise will prefer the first match found in the controller asset list
#codereview nick.darnell, daren.cheng

[CL 16716911 by Michael Noland in ue5-main branch]
2021-06-18 00:38:36 -04:00
Nick Darnell
4b5a1e212f Fixing not enabling LastInputType, after the changes to the per-platform settings.
[CL 16617190 by Nick Darnell in ue5-main branch]
2021-06-09 20:44:35 -04:00
Nick Darnell
3625ab4de1 CommonInput - Using the new UPlatformSettings, to store per-platform information into an NDA location when each platform is configured. These changes make it so we use the 'real' platform ini name, e.g. There's no more "PC" platform as far as the common input exists for configuring the platforms. So if you setup linux, that's another platform you'd configure. The gamepads are still wonky, they're trying to use platform ini names for gamepad names, going to refactor that so it's not coming from platform names. Made an upgrade path for the old settings that will update and then clear the old configuration. Also removed some settings that were added to DataDrivenPlatformInfo that don't make sense, and updated some platforms that never got the settings to begin with.
#review-16605256 Josh.Adams, Michael.Noland, Daren.Cheng
#fyi Josh.Adams, Michael.Noland, Daren.Cheng

[CL 16605253 by Nick Darnell in ue5-main branch]
2021-06-09 10:44:46 -04:00
David Harvey
63cc3ca897 removed some platform special cases for platform input.
#rb mickael.gilabert
#jira UE-113974
#rnx

[CL 16208092 by David Harvey in ue5-main branch]
2021-05-05 11:46:40 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
David Harvey
cb5b6aab20 remove a lot of PLATFORM_XBOXONE from Engine code.
#jira UECON-543
#rb eric.mcdaniel

[CL 16073834 by David Harvey in ue5-main branch]
2021-04-21 10:59:25 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00