Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
pjenness's avatar
pjenness
Rising Star
10 years ago

Gamepad shoulder mapping stopped working?

Hi

HAs any one else experienced the gamepad should mappings not working:

If I test with this..only the triggers work (display true)










    Debug.Log ("Left Shoulder = " + OVRInput.Get (OVRInput.Button.PrimaryShoulder, OVRInput.Controller.Gamepad));

    Debug.Log ("Right Shoulder = " + OVRInput.Get (OVRInput.Button.SecondaryShoulder, OVRInput.Controller.Gamepad));

    Debug.Log ("Left Trigger = " + OVRInput.Get (OVRInput.Button.PrimaryIndexTrigger, OVRInput.Controller.Gamepad));

    Debug.Log ("Right Trigger = " + OVRInput.Get (OVRInput.Button.SecondaryIndexTrigger, OVRInput.Controller.Gamepad));



If I mouse over the "Shoulders" the mappings they display dont make sense anymore




Any one else get this/.

Cheers

-P

 






8 Replies

Replies have been turned off for this discussion
  • If you are using Oculus Utilities 1.9, please use Unity 5.3.6p8 or 5.4.2p1 or higher. Previous versions of Unity have a bug in their Oculus support, which cause the shoulder buttons not to work, but ONLY if you're using Utilities 1.9. You can also drop back to Utilities 1.8 to avoid changing your Unity version.

  • vrdaveb said:

    If you are using Oculus Utilities 1.9, please use Unity 5.3.6p8 or 5.4.2p1 or higher. Previous versions of Unity have a bug in their Oculus support, which cause the shoulder buttons not to work, but ONLY if you're using Utilities 1.9. You can also drop back to Utilities 1.8 to avoid changing your Unity version.


    Unfortunately upgrading to 5.4.2p2 did not change anything.

    The LR triggers work on the gamepad , but not the shoulders.


  • YUS   5.5.0f2 works  (couldnt find b4).  

    If this one isnt supported, will switch once the next supported one arrives.

    Cheers

    -P
  • r0b0saru's avatar
    r0b0saru
    Expert Protege
    Is there any fix for this for this? I am using Unity 5.3.6p5 with SDK 1.10 and the LB, RB triggers do not work on the Oculus Rift when using an Xbox Gampad.

    Example code:

    if (OVRInput.GetDown(OVRInput.Button.PrimaryShoulder))
     {
         //blah, blah, blah
     }

    if (OVRInput.GetDown(OVRInput.Button.SecondaryShoulder))
    {
         //blah, blah, blah
     }

    Gear VR builds and Status XL gamepad LB, RB triggers works fine. LT and RT are working fine in both Oculus and Gear VR builds.

    Thank you!