love.gamepadpressed
Available since LÖVE 0.9.0 |
This function is not supported in earlier versions. |
Called when a Joystick's virtual gamepad button is pressed.
Function
Synopsis
love.gamepadpressed( joystick, button )
Arguments
-
Joystick joystick
- The joystick object.
-
GamepadButton button
- The virtual gamepad button.
Returns
Nothing.
See Also
Category: