Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Cleaned up controller data providers #363

Merged
merged 3 commits into from
Sep 29, 2019

Conversation

SimonDarksideJ
Copy link
Contributor

@SimonDarksideJ SimonDarksideJ commented Sep 29, 2019

XRTK - Mixed Reality Toolkit Change Request

Overview

Update OpenVR platform to use new Interactions Mapping Extension

Target of the change:

Is this enhancement for:

  • Core (core framework, interfaces and definitions)
  • Platform (new or updated platform)

Changes:

  • Updated all controller data providers to use new Interaction Mapping Extension
  • Cleaned up and refactored the controller and controller data providers to be more concise.

Breaking Changes:

Changes to the Controller interfaces will break the other platforms, update required

  • IMixedRealityControllerDataProvider.GetActiveControllers() was replaced with IMixedRealityControllerDataProvider.ActiveControllers
  • IMixedRealityInteractionMappingExtensions was consolidated into a single method call.

Additional notes

Changes extracted from @StephenHodgson PR for InputActions #358

…apping extension

Updated Base Controller/Provider patterns to use a more efficient ActiveControllers property

Updated OpenVR Interaction Mapping use to new singular model
Removed old InteractionMapping Extensions
@SimonDarksideJ SimonDarksideJ added the Enhancement New feature or request label Sep 29, 2019
@SimonDarksideJ SimonDarksideJ self-assigned this Sep 29, 2019
@StephenHodgson StephenHodgson self-requested a review September 29, 2019 16:55
@StephenHodgson StephenHodgson changed the title Update OpenVR platform to use new Interactions Mapping Extension Cleaned up controller data providers Sep 29, 2019
@StephenHodgson StephenHodgson merged commit 55701b5 into development Sep 29, 2019
@StephenHodgson StephenHodgson deleted the dev/interactionmappingsupdate branch September 29, 2019 17:28
XRTK-Build-Bot pushed a commit that referenced this pull request Sep 30, 2019
* Update to Base Controller framework to use newer Single Interaction Mapping extension

Updated Base Controller/Provider patterns to use a more efficient ActiveControllers property

Updated OpenVR Interaction Mapping use to new singular model

* **Breaking change**
Removed old InteractionMapping Extensions

* updated submodules
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Breaking Change Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants