Gamepad.SetVibration Method

Vibrates the left and right Gamepad motors at the speeds that are specified by GamepadVibration.

Syntax

public:
void SetVibration(
         GamepadVibration value
)  

Parameters

value
Type: GamepadVibration 

Contains the speeds at which to vibrate the left motor and right motor.

Remarks

Note

This is a cross-OS call. For more information, see Cross-OS Calls.

Requirements

Namespace: Windows.Xbox.Input

Metadata: windows.winmd

See also

Reference

Gamepad Class

Gamepad Members

Windows.Xbox.Input Namespace