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

# XINPUT_VIBRATION

> XINPUT_VIBRATION

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

## Syntax

```cpp theme={null}
typedef struct XINPUT_VIBRATION {  
    WORD wLeftMotorSpeed;  
    WORD wRightMotorSpeed;  
} XINPUT_VIBRATION  
```

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

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

This structure is used by the [XInputSetState](https://docs.xbox.com/reference/input/xinputongameinput/functions/xinputsetstate.md) function.

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

## Requirements

**Header:** XInputOnGameInput.h

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

## See also

[XInputSetStateEx](https://docs.xbox.com/reference/input/xinputongameinput/functions/xinputsetstateex.md)\
[Porting from XInput to GameInput](https://docs.xbox.com/build/core-features/common/input/porting/input-porting-xinput.md)\
[XInputOnGameInput](https://docs.xbox.com/reference/input/xinputongameinput/xinputongameinput_members.md)


## Related topics

- [XInputSetState](https://docs.xbox.com/reference/input/xinputongameinput/functions/xinputsetstate.md)
- [XInputOnGameInput (API contents)](https://docs.xbox.com/reference/input/xinputongameinput/xinputongameinput_members.md)
- [XINPUT_CAPABILITIES](https://docs.xbox.com/reference/input/xinputongameinput/structs/xinput_capabilities.md)
- [XINPUT_VIBRATION_EX](https://docs.xbox.com/reference/input/xinputongameinput/structs/xinput_vibration_ex.md)
- [XInputSetStateEx](https://docs.xbox.com/reference/input/xinputongameinput/functions/xinputsetstateex.md)
