XINPUT_VIBRATION

Specifies motor speed levels for the vibration function of a controller.

typedef struct _XINPUT_VIBRATION {
    WORD wLeftMotorSpeed;
    WORD wRightMotorSpeed;
} XINPUT_VIBRATION, *PXINPUT_VIBRATION;

Members

wLeftMotorSpeed
Speed of the left motor. Valid values are in the range 0 to 65,535. Zero signifies no motor use; 65,535 signifies 100 percent motor use.
wRightMotorSpeed
Speed of the right motor. Valid values are in the range 0 to 65,535. Zero signifies no motor use; 65,535 signifies 100 percent motor use.

Remarks

The left motor is the low-frequency rumble motor. The right motor is the high-frequency rumble motor. The two motors are not the same, and they create different vibration effects.

Requirements

Header: Declared in XInput.h.

See Also

XInput Structures | XInputSetState, XINPUT_GAMEPAD, XInputGetCapabilities