Commit Graph

31 Commits

Author SHA1 Message Date
robert manuszewski
f8a812a32f Converting hardcoded short class/enum names to pathnames ahead of ANY_PACKAGE removal
#rb trivial
#jira UE-99463
#preflight 6288fd998828ea88c8aef3d0

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20314896 via CL 20314897 via CL 20314903 via CL 20314904
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20315214 by robert manuszewski in ue5-main branch]
2022-05-22 10:30:02 -04:00
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
Devan England
c613628f69 Implementing Common Input Setting to allow disabling the setting of a default Input Config when no Activatable Widgets request one.
#jira UE-132877
#rb daren.cheng
#preflight 617af96dd65ac90001806cbb

[CL 18008227 by Devan England in ue5-main branch]
2021-11-01 16:47:08 -04: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
daren cheng
1ba55d9887 Put back in GetOptions restrictions for gamepads.
#jira none
#rb trivial
#fyi Nick.Darnell

[CL 17105140 by daren cheng in ue5-main branch]
2021-08-09 13:33:14 -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
Nick Darnell
a528a440c2 Adding additional text options for gamepad controls
[CL 16717400 by Nick Darnell in ue5-main branch]
2021-06-18 04:37:27 -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
dea42bb432 CIS - Fixing some legacy common UI.
[CL 16607010 by Nick Darnell in ue5-main branch]
2021-06-09 12:31:06 -04:00