Hotrian / OpenVRTwitchChat

Put your favorite Twitch Chat directly into any OpenVR game!
Other
173 stars 50 forks source link

Joystick axes influencing location sliders #23

Open M1Combat opened 7 years ago

M1Combat commented 7 years ago

I have the application up and running (Thank you by the way) but the sliders that control the location of the overlay are being influenced by joystick axes.

Everything works well when I have the overlay attached to a hand controller. It all works great there. Moves, responds to chat entries and all that.

As soon as I set it to world or screen though the sliders that control the position of the overlay slide themselves to one side or the other and stay there. I can grab them with the mouse and slide them back but as soon as I release the mouse they go back to whichever end they were on. I can hold various axes on my joysticks and get them to slide the other way but I can't seem to find a way to just unmap all axes from being able to control the application.

Please advise :).

Hotrian commented 7 years ago

Very interesting issue! I hadn't heard of this one.

So unfortunately OVRTC's development is on hold right now, so I'm not providing a lot of support for it, however this seems like it should be a quick fix.

Can you try launching OVRTC's exe with the -show-screen-selector flag? You should be able to mess with the inputs setup with Unity there.

I believe it will remember the Inputs you setup, so you should only have to launch it that way to set it up, and then you should be able to start it as normal.

Here are the steps to launching OVRTC with the -show-screen-selector flag, in case you need it:

  1. Create a shortcut to OVRTC's exe
  2. Right click the shortcut
  3. Click Properties
  4. On the Shortcut tab, add the flag you want to the end of the Target box. For example, if the target is currently C:\Users\Hotri\Desktop\OpenVRTwitchChat.exe, set it to C:\Users\Hotri\Desktop\OpenVRTwitchChat.exe -show-screen-selector. The exact text will change depending on the location of OVRTC on your harddrive, so do not copy and paste this part.
  5. Click Apply

Alternatively, you could launch it using Command Prompt and just add the flag after the name of the exe.

M1Combat commented 7 years ago

That worked :). Thank you sir :)

Hotrian commented 4 years ago

I'm adding the bug label so I remember to address this one in the next update, but actually it's not strictly a bug, just an unintended feature of Unity :)