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
1 | 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.
Please login to continue.