Substituting the Right Hand Menu with a custom widget (Product Viewer template)

Hi there,

I have created a widget in Product Viewer which works smoothly in Desktop mode. I would like this widget to be presented in the VR mode in the right hand instead of the X-Ray menu. I have seen that the right hand menu widgt is the one which is used but I cannot find how the template binds it to the right hand motion controller and how can I substitute it with mine…

Any ideas?