Skip to main content
Participant
April 19, 2016

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

    Up and Coming
    April 20, 2016
    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 :)