LucidVR / opengloves-driver

An OpenVR Driver for VR Gloves
https://store.steampowered.com/app/1574050/OpenGloves/
MIT License
466 stars 82 forks source link

Not seeing 'Lucidgloves' option when configuring SteamVR Input #245

Open Jaimy1366 opened 3 months ago

Jaimy1366 commented 3 months ago

I need to get the source code working because I am working on a custom integration. However, even with the latest precompiled release, I am running into the following issue.

When i open the SteamVR app and navigate to "settings > controllers > show user interface for configurations > steamvr home " if i then click on the current controller to select another option the option for Lucidgloves doesn't appear. afbeelding

Here is what i've done so far:

I tried using the latest release here: https://github.com/LucidVR/opengloves-driver/releases I followed the steps explained here: https://github.com/LucidVR/opengloves-driver/wiki/Configuring-SteamVR-Input My default.vrsettings: https://pastebin.com/wrHv7cvT

Changes compared to original: I set device_driver under lucidgloves to 1 and the one under knuckles to 0; The controller_override has been set to true and the override_left and override_right to 1 and 2. Nothing has been changed besides that.

I am initially testing without an ESP32, but I expect to still be able to select the Lucidgloves as controller output (just like the Vive Tracker and Gamepad that are not connected).

afbeelding Do you have an idea why the Lucidglove controller will not show up in SteamVR controller settings?

danwillm commented 3 months ago

The lucidglove device represents itself as an index controller, which is why its not showing up in that list. This is done here: https://github.com/LucidVR/opengloves-driver/blob/develop/driver/src/device/drivers/knuckle_device_driver.cpp Specifically: https://github.com/LucidVR/opengloves-driver/blob/develop/driver/src/device/drivers/knuckle_device_driver.cpp#L110

It's on the todo list to migrate to using the (relatively) recent controller emulation and rebinding features in SteamVR rather than the current soltution: https://github.com/ValveSoftware/openvr/blob/master/docs/Driver_API_Documentation.md#emulating-devices-in-bindings

You can set your own names and a new device type should appear in that list.

If that's something that aligns with the work you're doing, a PR would be greatly appreciated.