Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Add support for input and gestures for hand controllers #72

Merged
merged 99 commits into from
Sep 22, 2020

Conversation

FejZa
Copy link
Contributor

@FejZa FejZa commented Apr 24, 2020

Overview

Companion PR to XRTK/com.xrtk.core#552

StephenHodgson and others added 30 commits April 6, 2020 13:35
# Conflicts:
#	XRTK.WindowsMixedReality/Packages/com.xrtk.wmr/Controllers/WindowsMixedRealityController.cs
fixed naming for controller definition
@FejZa FejZa added Ready for review PR finished primary development, open for review and removed In Progress PR currently still being developed labels Sep 20, 2020
@FejZa FejZa marked this pull request as ready for review September 20, 2020 19:22
SimonDarksideJ
SimonDarksideJ previously approved these changes Sep 21, 2020
Copy link
Contributor

@StephenHodgson StephenHodgson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to fix the compiler errors

@FejZa
Copy link
Contributor Author

FejZa commented Sep 21, 2020

What compiler errors? This is building fine for me.

@StephenHodgson
Copy link
Contributor

The CI is saying there's script compiler errors

@FejZa
Copy link
Contributor Author

FejZa commented Sep 21, 2020

@StephenHodgson yep, just looking into that. Confusing me a lot. Those errors do not appear locally and do not make any sense since the namespace is defined and the classes available.

@StephenHodgson
Copy link
Contributor

I think it's resolved now. I just started a new run.

@StephenHodgson
Copy link
Contributor

Packages\com.xrtk.wmr\Runtime\Providers\Controllers\WindowsMixedRealityHandControllerDataProvider.cs(49,26): error CS0246: The type or namespace name 'HandDataPostProcessor' could not be found (are you missing a using directive or an assembly reference?)

@FejZa
Copy link
Contributor Author

FejZa commented Sep 21, 2020

Yeah I saw that error. But it's not true.

@StephenHodgson
Copy link
Contributor

I think it might be bc we're not properly installing the UWP Build support in a prev step...

@SimonDarksideJ
Copy link
Contributor

I'd recommend merging this along with the other PR's, and resolve the build server issue separately. Considering this builds and runs fine locally.

@FejZa FejZa merged commit b7ffbfd into development Sep 22, 2020
@FejZa FejZa deleted the feature/hand-input branch September 22, 2020 12:16
@StephenHodgson
Copy link
Contributor

StephenHodgson commented Sep 22, 2020

@SimonDarksideJ were you able to build and deploy on your end?

XRTK-Build-Bot pushed a commit that referenced this pull request Dec 25, 2020
* updated wmr controller data provider

* removed commented out class

* added controller data provider reference to the controller

* updated references

* fixed references

* Added default controller definitions

* updated the controller data provider inspector

fixed naming for controller definition

* updated hand data provider profile inspector

* removed redundant inspector

* cleaned up the controller interaction mappings a bit

* updated references

* updated controller instance creation

* added default constructor

* updated TryRenderController method

* removed asset menu

* fixed compiler error

* Remove obsolete SetupDefaultIntreactions (#65)

* updated reference

* added WMR Camera Data Provider

* updated WMR Camera Data Provider

* updated camera rig reference

* updated icon

* moved WMR Camera data provider into correct file location

* updated data provider constructors

* added service parent reference

* Change requests for controller provider inspectors (#67)

* Update indent levels for WMR settings

* Cache GUIContent

* Adjust WMR to recent core changes

* Update due to rename

* Cleanup usings

* Added rig reset override

* reverted changes

* removed unused reference

* added camera profile

* Updated windows controller type name to get the controller textures to show up correctly based on the type name

* fixed reference to renamed controller class

* fixed more type references

* Resolve merge issues

* Reset some unrelated file changes

* Fix namespace

* Moved WMR hand data provider profile asset

* Fix WMR namespace compiler error

* Cleanup namespace

* Move default wmr data provider profile from SDK

* Update profile references

* Introduce hand rendering mode

* Implement runtime rendering mode switch

* Update converter to define platform capabilities

* Update wmr to use post processor

* Fix build errors due to removal of base converter

* Rename joints

* Point to new hand controller profiles

* Pass handedness to pose recognizer

* Fix build errors

* Update WMR converter to latest changes

* Update wmr hand data provider

* Temp update WindowsApiChecker

* Fix joint-root offset calculation

* Finally fix freaking joint conversion

* Cleanup code

* Commit new controller GUIDs

* Implement pointer pose override for WMR platform

* Remove DOTNETWINRT_PRESENT usage

Co-authored-by: Stephen Hodgson <hodgson.designs@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ready for review PR finished primary development, open for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants