Joystick:getVibration

Joystick:getVibration

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Gets the current vibration motor strengths on a Joystick with rumble support.

Function

Synopsis

left, right = Joystick:getVibration( )

Arguments

None.

Returns

number left
Current strength of the left vibration motor on the Joystick.
number right
Current strength of the right vibration motor on the Joystick.

See Also

doc_love
2017-03-21 15:45:19
Comments
Leave a Comment

Please login to continue.