Forum Discussion

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

ovr_SetControllerVibration with Xbox controller?

I'm trying to trigger the vibration on the Xbox controller using the ovr_SetControllerVibration function with the 1.3.0 SDK, but the controller does not vibrate at all. Here is how I'm using the function:

ovr_SetControllerVibration(session, ovrControllerType_XBox, 1.0f, 1.0f);

The return value is successful, but the controller does not vibrate. Does the Xbox controller support vibration or does it only work with the touch controllers?

1 Reply

  • galopin's avatar
    galopin
    Heroic Explorer
    Is there a reason you want to use ovr to abstract a xbox controller from you instead of xinput ?

    With windows 10, xinput is deprecated and you should use IGamepad, the bonus is the access to the xbox one trigger motors too :)