Difference between revisions of "love.joystickpressed"

m
m
Line 27: Line 27:
 
[[Category:Callbacks]]
 
[[Category:Callbacks]]
 
{{#set:Description=Called when a joystick button is pressed.}}
 
{{#set:Description=Called when a joystick button is pressed.}}
 +
{{#set:Subcategory=Joystick}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.joystickpressed}}
 
{{i18n|love.joystickpressed}}

Revision as of 06:57, 31 October 2013

Called when a joystick button is pressed.

Function

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

Synopsis

love.joystickpressed( joystick, button )

Arguments

Joystick joystick
The joystick object.
number button
The button number.

Returns

Nothing.

Function

Removed in LÖVE 0.9.0
This variant is not supported in that and later versions.

Synopsis

love.joystickpressed( joystick, button )

Arguments

number joystick
The joystick number.
number button
The button number.

Returns

Nothing.

See Also


Other Languages