Neos-Metaverse / NeosPublic

A public issue/wiki only repository for the NeosVR project
193 stars 9 forks source link

xbox/gamepad trigger does not affect circular menus in vr mode #3608

Open lamystere opened 2 years ago

lamystere commented 2 years ago

Describe the bug?

When using a gamepad/xbox controller in vr mode as a supplemental controller the trigger button is not able to select items in any of the circular menus. This includes undo, locomotion, equip avatar, add to inventory, etc... It does function properly with objects, lasers, inspectors, the dash, and everything else I tried.

To test I used multiple xbox controllers (model 1537) and gamepad controllers mapped as xbox in Steam.

Relevant issues

#727 box number 6 may be related if there was a similar issue with the radiant dash requiring a full trigger pull signal. I tried full trigger pulls to test but figured it was worth the mention and was the only bug that came up in search.

#643 Turk's request for additional controller support may also be relevant

To Reproduce

Expected behavior

menu items should be selected in circular menus when trigger (or equivalent steam-mapped button) is pulled

Log Files

DESKTOP-O8UB93B - 2022.1.28.1335 - 2022-02-15 12_16_28.log

Screenshots

No response

How often does it happen?

Always

Does the bug persist after restarting Neos?

Yes

Neos Version Number

Beta 2022.1.28.1335

What Platforms does this occur on?

Windows

Link to Reproduction Item/World

No response

Did this work before?

I Don't Know

If it worked before, on which build?

No response

Additional context

The ability to use gamepads in VR mode is key to experiencing neos using hand/finger tracking without standard controllers for enhanced immersion. Very small gamepads can be strapped to arms or palms and used to trigger grabs and selections while using the other hand to point. Gamepads don't work directly with neos AFAIK but they can emulate xbox controllers within Steam, which then works the same as an actual xbox controller would in neos.

Reporters

lamystere

lamystere commented 2 years ago

A potential workaround is to use the Steam per-game controller configuration to assign the right trigger to a mouse click... The emulation of the mouse click interacts with the circular menu properly.

When using the desktop viewer this results in losing focus to whatever other program you click on which has the unfortunate side effect of the gamepad being reassigned to that window. But I don't think that is a Neos issue, just a quirk of steam or windows that gamepads are focused-app specific. A workaround for that is to monitor for clicks using an auto-hotkey script to reactivate Neos a few ms later.