W3cubDocs

/LÖVE

love.gamepadaxis

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

Called when a Joystick's virtual gamepad axis is moved.

Function

Synopsis

love.gamepadaxis( joystick, axis, value )

Arguments

Joystick joystick
The joystick object.
GamepadAxis axis
The virtual gamepad axis.
number value
The new axis value.

Returns

Nothing.

See Also


© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.gamepadaxis