OSVR-Core
OSVR-Core copied to clipboard
Right Joystick Button doesn't work with Razer Hydra
Not sure if this is a hardware issue on my hydra or possibly a bug in the vrpn implementation, but the right joystick button won't trigger button events or state. I tested all the other buttons and they all produce button events except the right joystick button. Found while implementing the controller input module for OSVR-Unreal.
I can try this out when I get back home.
I've just run into this bug.
The problem is that the callback receives an invalid OSVR_ButtonState for this particular button, with a value that changes with every restart of the application. Example invalid state values that I've seen: 80, 72, 168.
Also the callback for the right controller's joystick button (/controller/right/joystick/button) is called continously when the button is kept pressed in.
I very much look forward to seeing a fix for this, as my steamvr-osvr controller integration project depends on the hydra driver heavily.
I noticed an error in plugins/multiserver/com_osvr_Multiserver_RazerHydra.json, which could be related:
"button": {
"count": 15
}
The button count should be 14, as there are 7 on each controller.