Lilian Sananikone
Lilian Sananikone

Reputation: 41

Using HTC Vive Comos with OpenXR

I followed the documentation but I don’t succeed to bind my HTC Vive Cosmos Controller with my application. The compilation return an error with the code below :

CHECK_XRCMD(xrSuggestInteractionProfileBindings(m_instance, &suggestedBindings));

In fact, it’s not a compiler error but an error window which is displaying.

enter image description here

I’m using the SDK sources from github and more precisely, the hello_xr sample. With breakpoints, I can see with CHECK_XRCMD a XR_ERROR_PATH_UNSUPPORTED. However, I wrote the same path that it is written in the doc : /interaction_profiles/htc/vive_cosmos_controller

That’s why I don’t understand…

Can u help me, please ?

Thanks for answers !

Upvotes: 0

Views: 279

Answers (1)

mbucchia
mbucchia

Reputation: 24

You must enable the extension XR_HTC_vive_cosmos_controller_interaction when you create your XrInstance. This will make the /interaction_profiles/htc/vive_cosmos_controller profile available for use.

Upvotes: -1

Related Questions