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

Describe las velocidades de los motores para la funcionalidad de vibración de un mando de dos motores.

<a id="syntaxSection" />

## Sintaxis

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

<a id="membersSection" />

### Miembros

*wLeftMotorSpeed*\
Tipo: WORD

Velocidad del motor izquierdo. Los valores válidos van de 0 a 65535. Cero significa que el motor no se usa en absoluto y 65535 significa que el motor se usa al 100 por ciento.

*wRightMotorSpeed*\
Tipo: WORD

Velocidad del motor derecho. Los valores válidos van de 0 a 65535. Cero significa que el motor no se usa en absoluto y 65535 significa que el motor se usa al 100 por ciento.

<a id="remarksSection" />

## Comentarios

El motor izquierdo es el motor de vibración de baja frecuencia. El motor derecho es el motor de vibración de alta frecuencia. Los dos motores no son iguales y crean efectos de vibración diferentes.

Esta estructura la usa la función [XInputSetState](/reference/input/xinputongameinput/functions/xinputsetstate).

Para obtener más información, consulte [El contenedor XInputOnGameInput](/build/core-features/common/input/porting/input-porting-xinput#xinputWrapperSection).

<a id="requirementsSection" />

## Requisitos

**Encabezado:** XInputOnGameInput.h

**Plataformas compatibles:** consolas de la familia XBOX One y consolas XBOX Series

<a id="seealsoSection" />

## Consulte también

[XInputSetStateEx](/reference/input/xinputongameinput/functions/xinputsetstateex)\
[Portabilidad de XInput a GameInput](/build/core-features/common/input/porting/input-porting-xinput)\
[XInputOnGameInput](/reference/input/xinputongameinput/xinputongameinput_members)


## Related topics

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