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

> XINPUT_VIBRATION

# XINPUT\_VIBRATION

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

<a id="syntaxSection" />

## Syntax

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

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

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

This structure is used by the [XInputSetState](/reference/input/xinputongameinput/functions/xinputsetstate) 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

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


## Related topics

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