microsoft / Microsoft-OpenXR-Unreal

An Unreal Engine game plugin providing additional features available on Microsoft's Mixed Reality devices like the HoloLens 2 when using OpenXR.
MIT License
160 stars 51 forks source link

Delete ActionMapping #51

Open tahoorasf1 opened 2 years ago

tahoorasf1 commented 2 years ago

Hello where can I delete the auto-generation of these action mappings: UxtLeftGrab, UxtLeftSelect, UxtRightSelect, UxtRightGrab.

fieldsJacksonG commented 2 years ago

These actions are created in the UXTools plugin here: https://github.com/microsoft/MixedReality-UXTools-Unreal/blob/6ae6bc6bb7dfa6c7ad4bbdebfeedc39ece1c0f73/UXToolsGame/Plugins/UXTools/Source/UXToolsInput/Private/UxtDefaultHandTrackerSubsystem.cpp#L42

Note that if you are using UXTools, deleting these actions may cause input in the UXTools plugin to not behave as expected.

If you are on UXT 0.12.1, these events will not consume the input event, so they should allow for the same input event to fire from other classes: https://microsoft.github.io/MixedReality-UXTools-Unreal/version/public/0.12.x-UE4.27/Docs/ReleaseNotes.html#hand-tracking-component-no-longer-consumes-input-events