-
Notifications
You must be signed in to change notification settings - Fork 28
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
Linux - "Invalid input type click for controller" #6
Comments
Hi, probably the API has changed, I think need to create profiles like here https://github.com/r57zone/OpenVR-Additional-Arduino-Btns If you just want to try moving with keyboard and mouse then you can try this driver https://github.com/r57zone/Half-Life-Alyx-novr but it will probably need to be changed so that it builds on linux |
Just as I said, I'm using it just as a template, so no need to make the keyboard buttons working. OpenVR-driver-for-DIY/OpenVR/samples/driver_sample/csamplecontrollerdriver.cpp Lines 76 to 78 in 50211b9
So in case I create a profile for the driver, I'll just need to set it like |
yep |
Hi there and thanks for your software.
Just trying to write some custom driver and found this one gonna be a nice template.
I've built the project for Linux and it started up (I can see the driver is loaded in logs), but the controls are not working, so I'm stuck looking at the home screed. Idk if that was necessary but I did the room setup procedure, just in case.
When looking through logs I saw a ton of the following messages:
I didn't find any relative information for that, but after looking through the code a bit, I tried to log some data out of your GetPose function. So it seems like the rotation and position variables were not changing at all for both controllers and hmd, at this moment I noticed the GetAsyncKeyState, which is not implemented in Linux, so ignoring key presses became clear. But the error messages seem to be wrong. Did you have such messages on windows?
The text was updated successfully, but these errors were encountered: