Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Add ability to detect Vive HMD #1

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Draft

Conversation

EinDev
Copy link

@EinDev EinDev commented Sep 12, 2024

I don't know if i can just add the serial number prefix like for the other HMDs, but i have found a more deterministic way to use it on windows.
This is not an optimal solution, some of the reasons for that are:

  • (i believe) it requires the installation of a custom driver since it uses libusb
  • It only works on Windows, but since this is most of the userbase anyways, it just expects to be windows, but does not fail if not.

I will try to improve it, so this is why it is a WIP for now. But it works and is stable (on my end), so feel free to merge.

@EinDev
Copy link
Author

EinDev commented Sep 15, 2024

Note: I have also changed the approach to detecting the HMD to prefer a USB-Driven approach over the serial number approach. I believe this will be more reliable.

I was able to test it on 3 headsets:

  • Vive Pro (eye, but i think that's irrelevant)
  • Bigscreen Beyond
  • Valve Index

As it is able to detect the USB device name, i also made it show the USB device name, as shown in the "System Report" of SteamVR:
grafik

While i was there, i also added the ability to build in CI and publish a release. This makes it necessary to use Semantic Versioning in commit messages, so it can generate the proper version numbers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant