OSVR-Core icon indicating copy to clipboard operation
OSVR-Core copied to clipboard

Right Joystick Button doesn't work with Razer Hydra

Open JeroMiya opened this issue 9 years ago • 3 comments

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.

JeroMiya avatar Jan 29 '16 05:01 JeroMiya

I can try this out when I get back home.

rpavlik avatar Jan 29 '16 21:01 rpavlik

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.

betavr avatar Apr 15 '16 21:04 betavr

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.

betavr avatar Apr 15 '16 22:04 betavr