Open Hotrian opened 8 years ago
The title made it sound like Both controllers had to be connected when in reality I meant to say that if either controller is not connected then just that controller will never be detected. If neither controller is connected then neither will be detected :(.
I was just trying to be concise in the title.
This is an easy fix though.
Would you also consider pushing through this "easy fix" for controllers because since I use a rift I have to do some fun juggling of my headset to make sure my controllers get picked up when I launch OpenVRTwitchChat.
This was never implemented because it isn't efficient to be searching for the controllers all the time -- and with OpenVR allowing 16 (now 64?) maximum devices, that's a lot of polling -- though that doesn't mean it isn't possible, it's just going to lower performance. I haven't worked on OVRTC in about two years, but I'll see about updating some things.
That's a fair point maybe just a refresh button which then looks for new controllers once instead of continuously? At least then we don't have to restart the program if it didn't pick the controllers up the first time.
That would be super easy. Refresh button incoming.
Could you give this one a test for me? I'm just using the Null driver at the moment (no HMD or controllers connected).
That worked quite well. It did get the controllers backwards but I saw the swap controller button there now too which worked as expected. With this is there any way to also remember/save which anchor we choose. So that for instance since I usually set it to leftcontroller bellowfliped, as soon as controllers where connected it would switched to my last setting on exit, or maybe have it as part of the saved profile settings.
Hmm.. I would have assumed it saved that already -- OVRdrop does -- but of course it's been a while since I worked on OVRTC. I can check into it.
I haven't tested this yet but I'm pretty sure that it's true. The application must be restarted to detect newly connected devices, A future version will check periodically for newly connected devices automatically.