DevRifter Posted April 19, 2018 Share Posted April 19, 2018 I would like to know how to Input controllers. Accesing vive controlers by SteamVR =quite confusing Accesing controlers via OpenVR, even more confusing isn't there something simple like, if(Input.GetDown(ViveControler.Left.Trigger) or if(Input.GetDown(ViveControler.Left.touchpad.axes.y) could sombody write simple sample code for accesing vive controllers with A)steam vr B)Open Vr c).. something else I need to update my game for vive but when I think of using SteamVR sdk once again, Iam geting vomiting impulse Link to comment Share on other sites More sharing options...
HackPerception Posted April 19, 2018 Share Posted April 19, 2018 The Vive Input Utility will probably help. , do you have any other resources that can help? Link to comment Share on other sites More sharing options...
dario Posted April 19, 2018 Share Posted April 19, 2018 Hi, ha that's exactly why we made VIU available. It's exactly as the code you described and with the prefabs even easier. Also you can target openvr, oculus runtime, daydream, wave, windows mr and more with the same code. And in addition to the asset store, it's open sourced on GitHub: https://github.com/ViveSoftware/ViveInputUtility-Unity/releases Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.