Commit Graph

26 Commits

Author SHA1 Message Date
jc authier
3404ed9305 Common Input:
- Remove default action domain

[REVIEW] [at]prajwal.manjunath

#ROBOMERGE-AUTHOR: jc.authier
#ROBOMERGE-SOURCE: CL 19123872 via CL 19125248 via CL 19125462 via CL 19125620 via CL 19133527
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19155505 by jc authier in ue5-main branch]
2022-02-25 15:42:46 -05:00
jc authier
a0283ed2ff Common Input:
- Made action domain cache optional to denote if a widget tried to get an action domain but couldn't versus one that simply didn't try yet
- Evaluate the current widget when calculating the action domain as it might have a meta data
- Fixed crash when stopping in PIE without a full setup when action domain are enabled

[REVIEW] [at]prajwal.manjunath

#ROBOMERGE-AUTHOR: jc.authier
#ROBOMERGE-SOURCE: CL 19100743 via CL 19103235 via CL 19106069 via CL 19106115 via CL 19110127
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19148454 by jc authier in ue5-main branch]
2022-02-25 11:01:17 -05:00
jc authier
cc8184ae0c Common Input:
- Change GetCalculatedActionDomain to first check for a meta data on the widget to get the action domain. Else check if the CAW is overriding the action domain
- Add ICommonInputActionDomainMetaData to define the action domain used by a SWidget
- Add description to CVarEnableActionDomainRouting

[REVIEW] [at]prajwal.manjunath

#ROBOMERGE-AUTHOR: jc.authier
#ROBOMERGE-SOURCE: CL 19076506 via CL 19079995 via CL 19088418 via CL 19088500 via CL 19089497
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19131708 by jc authier in ue5-main branch]
2022-02-24 19:08:09 -05:00
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
aurel cordonnier
34f55d3a4a Merge from Release-Engine-Test @ 17946149 to UE5/Main
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17949667 by aurel cordonnier in ue5-main branch]
2021-10-27 15:14:40 -04: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
4be07c6a3b Resetting the SetButtonImageHeightTo editor utility, afte rusage back to 0.
#jira none

[CL 16704952 by Nick Darnell in ue5-main branch]
2021-06-17 11:00:34 -04:00
Nick Darnell
8579e38b30 CommonInput - Fix non-editor build.
#jira none

[CL 16663972 by Nick Darnell in ue5-main branch]
2021-06-14 16:39:41 -04:00
Nick Darnell
4d48a78502 CommonUI - Adding the CommonHardwareVisibilityBorder, it will replace the CommonVisibilityWidgetBase. Allows doing more sophisticated tag based logic for different platforms based on features as opposed to platform names, which don't work particularly well as you add new platforms, so instead encoding visibility rules based on hardware features. Features definable by game teams.
#review-16663201 Michael.Noland, Daren.Cheng
#fyi Michael.Noland, Daren.Cheng

[CL 16663198 by Nick Darnell in ue5-main branch]
2021-06-14 15:54:01 -04:00
daren cheng
64741cfc3e Fix CommonUI platform settings attempting to load assets too early.
#jira UE-117932
#rb trivial
#preflight 60c5c7c1b94461000157376b
#fyi Nick.Darnell

[CL 16654832 by daren cheng in ue5-main branch]
2021-06-13 19:56:13 -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
1d84dde95d Make sure we don't crash in CommonInput if the platforms are missing.
[CL 16611053 by Nick Darnell in ue5-main branch]
2021-06-09 15:32:32 -04:00
Nick Darnell
e50b935531 CommonInput - Don't try to load alll platforms input data outside of the editor.
[CL 16608006 by Nick Darnell in ue5-main branch]
2021-06-09 13:06:52 -04:00
Nick Darnell
66cc215d4d Fixing several CIS issues with IWUY.
[CL 16606760 by Nick Darnell in ue5-main branch]
2021-06-09 12:11:38 -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