Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
132 stars 2 forks source link

Generic controllers lacks hand poses and context menu #312

Open Lewisvz opened 10 months ago

Lewisvz commented 10 months ago

Describe the bug?

Using a VR headset that's unknown to Resonite will lack right hand context menu meaning you cannot de equip items in that hand in the conventional way. In addition hands will lack any poses. Perhaps defaulting to Oculus hand poses would be a good fallback.

To Reproduce

Effected devices I've tested so far. • Pico Neo 2 • Pico Neo 3 • YVR1 • YVR2 • Pimax Crystal • HTC Vive Focus Plus • HTC Vive Focus 3 dev unit • Nolo Sonic gen1 • Huawei smart glassC10

Expected behavior

Hands should have proper hand poses. Both hands should be able to produce a contexts menu.

Screenshots

No response

Resonite Version Number

All versions

What Platforms does this occur on?

Windows

What headset if any do you use?

Too many to list

Log Files

Log file is not needed.

Additional Context

No response

Reporters

Discord: Irix-sv40

FlameSoulis commented 10 months ago

Maybe this could be fixed with a command line argument like --overrideinputID "oculus"?

Lewisvz commented 10 months ago

Override input is a nice feature. However, from my experience most VR headsets follow the Oculus control scheme. VRC uses Oculus as a fallback. I feel as though that would be better than a lack of hand poses completely. Perhaps overrides could be useful for even more obscure controllers that behave like an index controller for example. The default being Oculus formate makes the most sense. Requiring a launch command would require someone to ask around on the Discord or check the Wiki which takes a lot more effort. Some users may not know that option is even available to them.

Frooxius commented 7 months ago

We definitely need logs to even consider this.

We don't have a lot of these controllers, so we need to see how they identify to Resonite, which shows up in logs.

Lewisvz commented 7 months ago

I do own most of these headsets. I do know individuals who own the rest. Is this a standard log that can be found in the root of the Resonite folder?

shiftyscales commented 7 months ago

The "regular" log file, and "Player.log" could both be useful, @Lewisvz. https://wiki.resonite.com/Log_Files

Replic21 commented 7 months ago

CHRISPC_-2024.1.19.687-_2024-01-20_14_51_57.log CHRISPC_-2024.1.19.687-_2024-01-20_12_15_15.log CHRISPC_-2024.1.19.687-_2024-01-20_21_58_49.log

Here are the logfiles of a friend of mine. He used the Pico 3 and we tried to fix it yesterday, but not little to no luck.

When we used Protoflux Logic, the user gets loaded with the Generic controller, which doesn't have a option to assign A ,B X and Y. Hope this helps! Got 3 logs because 1 is fresh without trying compatibility mode, one was 3,5K kilobites, very big compared to others and the other is after we tried to fix it.

(Everything works, except those A, B, X and Y)

Hope there is a easy fix so my friend can also enjoy this game with his controllers :3

shiftyscales commented 7 months ago

Only the third log file you provided seems to have detected the Pico Neo 3, @Replic21. The first two show it auto-detected as "Screen" (no HMD).

XR Device Name: OpenVR
XR Device Model: Pico Neo 3

It appears in that same log, it detects the controllers as Index controllers? Was the third log when you tried using the compatibility options in Steam?

The log files you submitted also seem to be filled with a bunch of unrelated exceptions.

Can you please re-create a clean replication log file by:

Once that has been done- provide the normal log file, and the Player.log file as indicated in my above post.

Replic21 commented 7 months ago

SCRYDANPC-2024.1.23.613-_2024-01-24_08_02_15.log Player.log

It took a bit of time, but this should be clean ones, it's the same headset, just different pc (and user). We did the reset and -DoNotAutoLoadHome and tried to reproduce the issue (A B X Y not working).

Hope this helps!

Lewisvz commented 7 months ago

ResoniteControllerLogs.zip

Included logs are for: YVR1, YVR2, ViveFocus3, NoloSonic.

I still need to test the Vive FocusPlus, and Huawei VR C10.

In testing it appears the Focus 3 was actually working correctly minus hand tracking which behaved unexpectedly.

shiftyscales commented 7 months ago

Thanks. Those log files are good, @Replic21.

8:02:31 AM.090 (  0 FPS)    OnDeviceConnected: 0
8:02:31 AM.090 (  0 FPS)    DeviceClass: HMD, error: TrackedProp_Success
8:02:31 AM.090 (  0 FPS)    OnDeviceConnected: 1
8:02:31 AM.090 (  0 FPS)    DeviceClass: Controller, error: TrackedProp_Success
8:02:31 AM.090 (  0 FPS)    Getting Role
8:02:31 AM.090 (  0 FPS)    Role: RightHand
8:02:31 AM.090 (  0 FPS)    Capacity: 46
8:02:31 AM.090 (  0 FPS)    Error: TrackedProp_Success
8:02:31 AM.090 (  0 FPS)    Controller Connected, Device Index: 1, Role: RightHand, RenderModel: {pico}/rendermodels/pico_neo3_rightcontroller
8:02:31 AM.092 (  0 FPS)    Unknown Controller: {pico}/rendermodels/pico_neo3_rightcontroller
8:02:31 AM.092 (  0 FPS)    Registering Controller: FrooxEngine.GenericController
8:02:31 AM.096 (  0 FPS)    Controller Registered
8:02:31 AM.096 (  0 FPS)    OnDeviceConnected: 2
8:02:31 AM.096 (  0 FPS)    DeviceClass: Controller, error: TrackedProp_Success
8:02:31 AM.096 (  0 FPS)    Getting Role
8:02:31 AM.096 (  0 FPS)    Role: LeftHand
8:02:31 AM.096 (  0 FPS)    Capacity: 45
8:02:31 AM.096 (  0 FPS)    Error: TrackedProp_Success
8:02:31 AM.096 (  0 FPS)    Controller Connected, Device Index: 2, Role: LeftHand, RenderModel: {pico}/rendermodels/pico_neo3_leftcontroller
8:02:31 AM.096 (  0 FPS)    Unknown Controller: {pico}/rendermodels/pico_neo3_leftcontroller
8:02:31 AM.096 (  0 FPS)    Registering Controller: FrooxEngine.GenericController
8:02:31 AM.097 (  0 FPS)    Controller Registered
<b>[SteamVR]</b> Successfully loaded 120 actions from action manifest into SteamVR (D:/SteamLibrary/steamapps/common/Resonite/Resonite_Data/StreamingAssets\SteamVR\actions.json)
<b>[SteamVR]</b> Initialized. Connected to pico : Pico Neo 3 : Pico Neo 3 :: pico_hmd
shiftyscales commented 7 months ago

Re-uploading the files you provided directly onto this issue for easier access, @Lewisvz.

This issue seems to have everything it should need now, @Frooxius.


Nolo Sonic NoloSonicControllers DESKTOP-SVN565I - 2024.1.24.840 - 2024-01-24 14_52_23.log Player.log


Vive Focus 3 htcViveFocus3 DESKTOP-SVN565I - 2024.1.24.840 - 2024-01-24 14_31_21.log Player.log


YVR1 yvr1 DESKTOP-SVN565I - 2024.1.24.840 - 2024-01-24 13_31_06.log Player.log


YVR2 yvr2 DESKTOP-SVN565I - 2024.1.24.840 - 2024-01-24 13_18_20.log Player.log