rumble


Description:

public bool rumble (uint16 strong_magnitude, uint16 weak_magnitude, uint16 milliseconds)

Make this rumble during milliseconds milliseconds.

The heavy and light motors will rumble at their respectively defined magnitudes.

The duration cannot exceed 32767 milliseconds.

Parameters:

this

a device

strong_magnitude

the magnitude for the heavy motor

weak_magnitude

the magnitude for the light motor

milliseconds

the rumble effect play time in milliseconds

Returns:

whether the rumble effect was played