Difference between revisions of "love.joystickpressed"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Called when a joystick button is pressed.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 14: Line 14:
 
* [[parent::love]]
 
* [[parent::love]]
 
[[Category:Callbacks]]
 
[[Category:Callbacks]]
{{#set:Description=}}
+
{{#set:Description=Called when a joystick button is pressed.}}

Revision as of 16:17, 14 February 2010

Called when a joystick button is pressed.

Function

Synopsis

love.joystickpressed( joystick, button )

Arguments

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

Returns

Nothing.

See Also