dantman / elite-vr-cockpit

A SteamVR Overlay providing a virtual throttle and joystick and holographic buttons for ship functions, with custom integration into Elite Dangerous
Other
319 stars 36 forks source link

Setting up with Oculus Rift S (new controllers) #99

Open Kore101 opened 5 years ago

Kore101 commented 5 years ago

Thanks for your work on this Dantman! It's amazing to see the progress so far. I wanted to give this a try with my new Rift S. I followed your guide to the T, and I successfully got the controllers to detect in-game after running your latest build, but when I try to map the joystick movements to the in-game joystick, something isn't going right.

I am mapping the controls using your in-game menu of the +1 -1 for each corresponding joystick axis'. With the game edit controls menu open and your menu open I select to edit a axis then tap in your menu -1, or +1 to map that control and the game registers it - but when I go back to the game to test grabbing the right joystick in the the ship (using the inner pressure grip of the controller) while your joystick UI is over the stick, I tilt my controller in those axis directions and nothing happens.

I don't know if I'm missing something during your setup instructions when it comes to mapping the controls, but I'd love to try and get this working.

I wonder if it has anything to due with the new Rift S controllers?

dantman commented 5 years ago

Are you able to grab the holographic buttons in edit mode and move them around?

Kore101 commented 5 years ago

Yes, I am able to do that, grab and move those buttons around, as well as the throttle and Stick locations of your UI.

Hmm.. what do you think?

On Sat, Jun 8, 2019, 12:51 PM Daniel Friesen notifications@github.com wrote:

Are you able to grab the holographic buttons in edit mode and move them around?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dantman/elite-vr-cockpit/issues/99?email_source=notifications&email_token=ACIB3YNGAVIMEYEC5LKVCALPZPPQVA5CNFSM4HSDHSYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXHYP2Q#issuecomment-500140010, or mute the thread https://github.com/notifications/unsubscribe-auth/ACIB3YPZBBG3WQMCXFD5TULPZPPQVANCNFSM4HSDHSYA .

dantman commented 5 years ago

Ok, then the grip button on the new controllers is working fine.

How about confirming that the axis are actually bound. In the cockpit when flying around you can open the controls panel buy turning on the edit and menu modes like you did to bind things then press the -1/+1 buttons. Those output the axis outputs for a second, so if you click one of the buttons while flying around it should change the ship's direction a bit if it's working.

r4v3n1139 commented 5 years ago

Hey Kore101, please help me get this working with my Rift XD I have been trying for several days to get it working and ive posted to every reddit i can and no one will help lol! so basically what ive done is forced oculus home to not run at all so that i can use the steamvr overlays but it seems that the game forces itself with the Oculus API. i have no idea what to do or how to get the overlays working with the oculus rift :(

r4v3n1139 commented 5 years ago

https://www.reddit.com/r/oculus/comments/9odbvz/fixed_old_oculus_home_runtime_w_instructions/

this is the process i used to get oculus home to go away

Kore101 commented 5 years ago

Yes, Daniel, I can confirm that pressing those buttons in your menu will move my ship, it shows that it's bound correctly when doing that test. However, when I close that menu and try to grab the stick and move it in my ship it does not do anything.

I grab with the grip button when hovering your in-game joystick icon over the throttle or joystick, correct? Then tilt my controller to activate one of the maneuvering controls.... When doing this, nothing happens.

On Sat, Jun 8, 2019 at 1:17 PM Daniel Friesen notifications@github.com wrote:

Ok, then the grip button on the new controllers is working fine.

How about confirming that the axis are actually bound. In the cockpit when flying around you can open the controls panel buy turning on the edit and menu modes like you did to bind things then press the -1/+1 buttons. Those output the axis outputs for a second, so if you click one of the buttons while flying around it should change the ship's direction a bit if it's working.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dantman/elite-vr-cockpit/issues/99?email_source=notifications&email_token=ACIB3YOYIPN56E2TWN4VS7LPZPSSTA5CNFSM4HSDHSYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXHZCUI#issuecomment-500142417, or mute the thread https://github.com/notifications/unsubscribe-auth/ACIB3YMHWLAWIZK6W2H4LITPZPSSTANCNFSM4HSDHSYA .

dantman commented 5 years ago

Yes, you grab the throttle with the grip and move it or grab the joystick with the grip and rotate your controller.

This is impossibly strange. The joystick/throttle use the same axis output as the buttons, so if the buttons work it's not an axis output issue. The joystick/throttle are also grabbed with the same grip action as is used to move them and the buttons, so if moving things around works it's not an issue with the grip action.

If menu mode and edit mode are both off, I'm not sure why the stick would not be working.

Try grabbing it a few different ways. Right now they assume a Vive/WMR style grip button where you can either hold the button down to grab or press and release it really quickly to lock the grab on and again to release. Maybe something about the Rift's grip button trips this up?

Kore101 commented 5 years ago

I'll give it another try in a few weeks and see what I can work out. I'll let you know if I can get it working.

thanks for the help so far!

On Thu, Jun 13, 2019 at 1:40 PM Daniel Friesen notifications@github.com wrote:

Yes, you grab the throttle with the grip and move it or grab the joystick with the grip and rotate your controller.

This is impossibly strange. The joystick/throttle use the same axis output as the buttons, so if the buttons work it's not an axis output issue. The joystick/throttle are also grabbed with the same grip action as is used to move them and the buttons, so if moving things around works it's not an issue with the grip action.

If menu mode and edit mode are both off, I'm not sure why the stick would not be working.

Try grabbing it a few different ways. Right now they assume a Vive/WMR style grip button where you can either hold the button down to grab or press and release it really quickly to lock the grab on and again to release. Maybe something about the Rift's grip button trips this up?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dantman/elite-vr-cockpit/issues/99?email_source=notifications&email_token=ACIB3YJODBN7XUSZ6LXOQVTP2KBCDA5CNFSM4HSDHSYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXUPPTA#issuecomment-501807052, or mute the thread https://github.com/notifications/unsubscribe-auth/ACIB3YOXSWUEIHOVDZYJN5DP2KBCDANCNFSM4HSDHSYA .