Difference between revisions of "love.gamepadpressed"

m
(See Also)
Line 19: Line 19:
 
{{#set:Description=Called when a Joystick's virtual gamepad button is pressed.}}
 
{{#set:Description=Called when a Joystick's virtual gamepad button is pressed.}}
 
{{#set:Subcategory=Joystick}}
 
{{#set:Subcategory=Joystick}}
 +
{{#set:Since=090}}
 +
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.gamepadpressed}}
 
{{i18n|love.gamepadpressed}}

Revision as of 11:20, 6 April 2021

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



Other Languages