> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XINPUT_VIBRATION_EX

> XINPUT_VIBRATION_EX

# XINPUT\_VIBRATION\_EX

Describes motor speeds for the vibration capability of a four-motor controller.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
typedef struct XINPUT_VIBRATION_EX {  
    WORD wLeftMotorSpeed;  
    WORD wRightMotorSpeed;  
    WORD wLeftTriggerSpeed;  
    WORD wRightTriggerSpeed;  
} XINPUT_VIBRATION_EX  
```

<a id="membersSection" />

### Members

*wLeftMotorSpeed*\
Type: WORD

Speed of the left motor. Valid values range from 0 through 65535. Zero signifies that the motor is not used at all, and 65535 signifies that the motor is used at 100 percent.

*wRightMotorSpeed*\
Type: WORD

Speed of the right motor. Valid values range from 0 through 65535. Zero signifies that the motor is not used at all, and 65535 signifies that the motor is used at 100 percent.

*wLeftTriggerSpeed*\
Type: WORD

Speed of the left trigger motor. Valid values range from 0 through 65535. Zero signifies that the motor is not used at all, and 65535 signifies that the motor is used at 100 percent.

*wRightTriggerSpeed*\
Type: WORD

Speed of the right trigger motor. Valid values range from 0 through 65535. Zero signifies that the motor is not used at all, and 65535 signifies that the motor is used at 100 percent.

<a id="remarksSection" />

## 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.

The two trigger motors provide haptic feedback through the triggers.

This structure is used by the [XInputSetStateEx](/reference/input/xinputongameinput/functions/xinputsetstateex) function.

For more information, see [The XInputOnGameInput wrapper](/build/core-features/common/input/porting/input-porting-xinput#xinputWrapperSection).

<a id="requirementsSection" />

## Requirements

**Header:** XInputOnGameInput.h

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

<a id="seealsoSection" />

## See also

[XInputSetState](/reference/input/xinputongameinput/functions/xinputsetstate)\
[Porting from XInput to GameInput](/build/core-features/common/input/porting/input-porting-xinput)\
[XInputOnGameInput](/reference/input/xinputongameinput/xinputongameinput_members)


## Related topics

- [XInputSetStateEx](/reference/input/xinputongameinput/functions/xinputsetstateex.md)
- [XInputOnGameInput](/reference/input/xinputongameinput/xinputongameinput_members.md)
- [XINPUT_VIBRATION](/reference/input/xinputongameinput/structs/xinput_vibration.md)
- [XINPUT_CAPABILITIES](/reference/input/xinputongameinput/structs/xinput_capabilities.md)
- [XInputSetState](/reference/input/xinputongameinput/functions/xinputsetstate.md)
