polygraphene / ALVR

ALVR is an open source remote VR display for Gear VR and Oculus Go. With it, you can play SteamVR games in your standalone headset.
MIT License
1.82k stars 248 forks source link

USB Joystick not seen within Injected PC app in Revive while streaming with ALVR (using Gear VR and Samsung S9) #257

Closed dpluigi closed 3 years ago

dpluigi commented 5 years ago

Hi,

Thank you for putting together such a stable and efficient tool. I am enthusiastic about VR and AR and exploring the potential of my Gear VR mobile headset while waiting for Oculus Quest to be releas3ed. Hopefully, ALVR will be able to interface with Quest and make it a wireless Rift little brother so that the powers of PC and graphics card can be leveraged too.

Back to joystick issue: With ALVR (version 2.3.1) I managed to get the graphics streaming to my Gear VR mobile headset fitted with a Samsung S9 over wifi. The Revive (version 1.6.2.0) inject function works well and Soaring flight simulator Condor 2.exe (version 2.0.5) starts apparently normally ( http://www.condorsoaring.com/ ).

My issue is that after starting Condor with Revive, the USB joysticks do not show up in Condor/Input menu, hence to operational while in flight sim). Note that the joystick USB devices are detected by Windows and can be calibrated by Joy.cpl and listed in Steam/Controller.

Do you have any idea what needs to be done so that once Condor is started in VR mode I get the joystick (and second joystick for my rudder pedals) recognized and operational? Is the issue at the ALVR level or Revive level?

Thank you in advance for your help, Donat

pupphelper commented 5 years ago

This doesn't seem to be related to ALVR. You should ensure your joysticks are detected and usable by steam, and perhaps try a different VR game that uses your USB controller to verify the problem. If the USB Joystick is connected directly to your PC and SteamVR, the problem is likely somewhere in that chain. If you suspect Revive injector as the problem, try a non Revive injected game see if it works. If that works, try a different revive injected game to see if it works. I know that using a PSmove controller setup with PSmove Navigation controllers as standard USB game controllers (via scptoolkit), there are no issues running via ALVR on Gear S9 for games like space pirate captain and something like a revive injected roborecall.

dpluigi commented 5 years ago

Thank you for your reply. I checked again and yes the USB Force Feedback Controller is seen in Steam but not in VR Steam.

Interestingly the joystick was allowed to move the cursor within the Steam / Big Screen / Setting: Controller... I tried to modify the default controller in the Big Picture setting and no change.

Update: Today, I noticed that I could start this game from Steam, then in the game Input setting, I noted that I could define the joystick's input (i.e. the original ones not showing). From there on, I was able to close the standalone game and then launch (Inject) it from Revive as before but this time, the Game/Inputs setting was detected and I was able to set it up. It is working and I am not sure what really changed. In summary, this game in was added in Steam, and the input setting in STeamVR/Revive started to display the two Joysticks. Note, that Windows 10 has switched the Joysticks ID relative to early setup (i.e. before I attempted to execute it in VR mode). This was easily corrected by editing the file controls.ini, interestingly this occurred once and/or after the joysticks started to be operational in VR mode (i.e. Injecting the game in Revive).

I realize this was not related to ALVR, but suspected that someone else understood how to work around some kinks in this process.

Last question: Is there a good resource to help me understand how the Steam (In Big Picture) controller are set? In particular, so that the joystick is not used instead of or in conjunction with the keyboard and mouse cursor.

Thank you again for your help.