vibrate
fun vibrate(left: Float, right: Float, time: Float, index: Int = 0): ERROR CLASS: Unresolved name: SetGamepadVibration
Vibrates the controller.
Parameters
left
The percentage power for the left motor (0.0 to 1.0)
right
The percentage power for the right motor (0.0 to 1.0)
time
The time of vibration, in seconds.
index
The index of the currently connected controller.