Commit Graph

119 Commits

Author SHA1 Message Date
Jules Blok
e18fdfdae5 Enhanced Input for OpenXR
This allows us to expose the OpenXR input system through the same assets and APIs as Enhanced Input providing a familiar interface to devs.

- UInputAction is equivalent to XrAction
- UInputMappingContext is equivalent to XrActionSet
- FEnhancedActionKeyMapping is equivalent to XrActionSuggestedBinding

However unlike Enhanced input there are additional constraints:

- All actions sets that can be applied during a session need to be provided to xrAttachSessionActionSets and become immutable for the duration of the session.
- All suggested bindings need to be provided to xrSuggestInteractionProfileBindings and also become immutable for the duration of the session.
- The action set priorities are also immutable, but we're currently in the process of drafting an extension that allows them to be changed at any time.

To accommodate these constraints we ask the developer to provide a UPlayerMappableInputConfig containing every UInputMappingContext that will be used for XR and their default priorities.

#rb Jeff.Fisher
#preflight 629fa72ae9383fd88fc92419

[CL 20543929 by Jules Blok in ue5-main branch]
2022-06-07 15:50:25 -04:00
David Harvey
dfa6b776b1 Input debugging plugin.
- includes touch input visualization, toggled via `Input.Debug.ShowTouches 1`


#jira UE-150305
#rb Serge.Bernier, Ben.Hoffman
#preflight 628665b22c1bb3e25a4a0da9

[CL 20282745 by David Harvey in ue5-main branch]
2022-05-19 12:58:06 -04:00
David Harvey
9cc4146fbc move HoloLens runtime source to platform extension folder.
#jira UE-149794
#rnx
#rb Jeff.Fisher
#preflight 6284cd49614041edb76395dc

[CL 20258963 by David Harvey in ue5-main branch]
2022-05-18 06:59:59 -04:00
JSaueressig88
a600b42b5c PR #9106: Bug Fix: ValveIndex_Left_Trackpad_Touch would never call release (Contributed by JSaueressig88)
#jira UE-149521
#rb Jules.Blok
#preflight
#preflight 6273162d606d0d83895e59a1

[CL 20053452 by JSaueressig88 in ue5-main branch]
2022-05-04 20:23:20 -04:00
UnrealBot
c47e81b2cb Branch snapshot for CL 18531810
[CL 18531810 in ue5-main branch]
2022-01-06 16:44:09 +00:00
UnrealBot
2987349d36 Branch snapshot for CL 18514113
[CL 18514113 in ue5-main branch]
2022-01-05 20:41:17 +00:00
ben hoffman
c35fb2613a Do not allow blueprints to bind to gesture keys if it is not enabled in the settings
#jira UE-101949
#rb justin.hare
#preflight 61d4814b430de36baa3142c3

#ROBOMERGE-AUTHOR: ben.hoffman
#ROBOMERGE-SOURCE: CL 18519475 in //UE5/Release-5.0/... via CL 18519496
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18519510 by ben hoffman in ue5-release-engine-test branch]
2022-01-05 10:57:39 -05:00
ben hoffman
0cb77052f3 Deprecated console specific Fkeys in favor of generic ones
#jira UE-130619
#rb trivial
#rnx
#preflight 61bb6f5cbd7d5fe54ecb3bfc

#ROBOMERGE-AUTHOR: ben.hoffman
#ROBOMERGE-SOURCE: CL 18476589 in //UE5/Release-5.0/... via CL 18481359
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18481450 by ben hoffman in ue5-release-engine-test branch]
2021-12-16 19:28:47 -05:00
ben hoffman
0735b2f069 Fix platform definition in CommonUI
#jira UE-130619
#rb marc.audy
#rnx
#preflight 61b377d213028c27d29b3641
#p4v-preflight-copy 18430652

#ROBOMERGE-AUTHOR: ben.hoffman
#ROBOMERGE-SOURCE: CL 18444033 in //UE5/Release-5.0/... via CL 18445312
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18445493 by ben hoffman in ue5-release-engine-test branch]
2021-12-13 13:43:09 -05:00
jeff fisher
a3748e48bc OpenXR related features and fixes.
-Adds support for getting velocity and accelleration through GetControllerTransformForTime.
-Adds mechanism for using openxr chain structs which are defined in and consumed by an extension plugin.
-Support for defining a swapchain and renderbridge in an extension plugin.
-Some OpenXR fixes related to runtimes not supplying tracking data of various types.  Basically if the data isn't being provided we should not copy it out because it might be full of nonsense.  Also we would generally rather preserve our last cached position than overwrite with zero/identity.
-Moving OpenXRPlatformRHI.h OpenXRHMD_RenderBridge.h and _Swapchain.h back to private folder.
-Previously one could not run the same haptic effect on two devices simultaneously and have it behave correctly because most of the per-effect-play data for each effect was shared by all controllers.  This refactors so that the necessary runtime data is per controller and the constant bulk data is shared by all controllers.
-Adding infrastructure for playing haptics on a VR HMD.
-Refactored haptic data resampling into the oculus plugin because that is plugin specific.
swarm reviews review-18220544 and review-18220542
#rb Robert.Srinivasiah, Jules.Blok, Steve.Smith

#ROBOMERGE-AUTHOR: jeff.fisher
#ROBOMERGE-SOURCE: CL 18271123 in //UE5/Release-5.0/... via CL 18271142
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18271147 by jeff fisher in ue5-release-engine-test branch]
2021-11-23 11:41:31 -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
daren cheng
a792c7c3d1 Add support for shortname usage in FUICommandInfo & InputCoords.
Add support for struct param construction of FMultiBlock & FMenuEntryBlock
Add support for overriding of input action text.

#jira UE-134754
#rb Lauren.Barnes
#preflight 61952207b32bbfdc5007c419

#ROBOMERGE-AUTHOR: daren.cheng
#ROBOMERGE-SOURCE: CL 18229583 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v895-18170469)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0
#ROBOMERGE[bot1]: Main

[CL 18229633 by daren cheng in ue5-release-engine-test branch]
2021-11-17 17:03:36 -05:00
aurel cordonnier
69fe095547 Merge from Release-Engine-Staging @ 17636544 to Release-Engine-Test
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17638842 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-27 19:54:25 -04:00
rolando caloca
f6cd88c157 UE5 - Remove platform
#rb Steve.Smith
[FYI] Jules.Blok, Ryan.Durand, Ben.Marsh

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

[CL 17295945 by rolando caloca in ue5-release-engine-test branch]
2021-08-24 19:28:38 -04:00
aurel cordonnier
02c0f425e8 Copy up from Release-Engine-Staging @ 16738359
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719

[CL 16738582 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-22 00:27:54 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -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
Rolando Caloca
5b82f15def Copying //UE4/Dev-RenderPlat-Staging@11388153 to //UE4/Main
#rb none
#rnx

[CL 11388545 by Rolando Caloca in Main branch]
2020-02-12 13:27:19 -05:00
Max Chen
b4881d8bf8 Copying //UE4/Dev-Editor to Dev-Tools-Staging (//UE4/Dev-Tools-Staging) @11123875
#rb none
#jira none

[CL 11123880 by Max Chen in Dev-Tools-Staging branch]
2020-01-27 20:11:15 -05:00
Juan Canada
2ecf4f9708 Merging //UE4/Dev-Main@10877709 to Dev-RenderPlat-Staging(//UE4/Dev-Rendering)
#rnx
#rb none

[CL 10895568 by Juan Canada in Dev-RenderPlat-Staging branch]
2020-01-07 13:45:01 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
Robert Manuszewski
7b6f840f7f Copying //UE4/Dev-Core @ 10708550 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 10708666 by Robert Manuszewski in Main branch]
2019-12-13 11:07:03 -05:00
jules blok
c63fd6d947 Auto-generate bindings with an option to enable a "developer" mode
Move directional keys to input core for compatibility
Make the project name more unique to avoid manifest conflicts
Fix bindings being overwritten every time a project is opened

#jira UE-84318
#rb Ryan.Vance

#ROBOMERGE-SOURCE: CL 10173965 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v587-10111126)

[CL 10173982 by jules blok in Main branch]
2019-11-13 19:14:43 -05:00
jules blok
fafe22eea5 Deprecate MotionController keys
- Allow keys to be flagged as "bindable in blueprints" and "bindable to actions" separately
- Mark all keys intended for XR projects as not bindable in blueprints
- Mark MotionController keys as not bindable to actions as well
- Replace the SteamVRController module with SteamVRInput based on the marketplace plugin

#rb keli.hlodversson
#jira UE-78930

#ROBOMERGE-SOURCE: CL 9960925 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v558-9892490)

[CL 9960926 by jules blok in Main branch]
2019-11-01 15:43:44 -04:00
Nick Shin
3526d16d5e merge/copyup to parent stream - HTML5 platform extension
#jira UEMOB-482  HTML5 platform as a plug in
#rb josh.adams
#rn

[CL 9306021 by Nick Shin in Dev-Build branch]
2019-09-30 15:13:56 -04:00