Skip to content

Add suppport for Meta Quest Touch Pro controllers (fix #5138)#5140

Closed
felixtrz wants to merge 3 commits intoaframevr:masterfrom
felixtrz:questPro
Closed

Add suppport for Meta Quest Touch Pro controllers (fix #5138)#5140
felixtrz wants to merge 3 commits intoaframevr:masterfrom
felixtrz:questPro

Conversation

@felixtrz
Copy link
Contributor

A patch for #5139

} else {
controllerMatch = profiles.length > 0 && profiles[0].startsWith(idPrefix);
if (idPrefix === 'oculus-touch') {
controllerMatch = profiles.length > 0 && (profiles[0].startsWith(idPrefix) || profiles[0].startsWith('meta-quest-touch'));
Copy link
Member

Choose a reason for hiding this comment

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

profile ids should not be hard coded here. Something is not working higher in the call chain

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please feel free to commandeer this and make changes or just reference the changes made here in #5139. Hard coding it definitely is not a good solution, but I wasn't sure what you would like to do here to handle the two prefix mapping to one control problem

Copy link
Contributor Author

Choose a reason for hiding this comment

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

profile ids should not be hard coded here. Something is not working higher in the call chain

Happy to test out any new changes you make!

Copy link
Member

Choose a reason for hiding this comment

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

I made changes to #5139 Can you give it another try? Thanks

@dmarcos
Copy link
Member

dmarcos commented Oct 20, 2022

Closing in favor of #5139

@dmarcos dmarcos closed this Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants