|
|
Line 1: |
Line 1: |
− | {{newin|[[0.9.0]]|090|type=function|text=It has been renamed from [[love.joystick.getNumBalls]]}}
| |
| | | |
− | Returns the number of balls on the joystick.
| |
− | == Function ==
| |
− | === Synopsis ===
| |
− | <source lang="lua">
| |
− | balls = love.joystick.getBallCount( joystick )
| |
− | </source>
| |
− | === Arguments ===
| |
− | {{param|number|joystick|The joystick to be checked}}
| |
− | === Returns ===
| |
− | {{param|number|balls|The number of balls available}}
| |
− | == See Also ==
| |
− | * [[parent::love.joystick]]
| |
− | [[Category:Functions]]
| |
− | {{#set:Description=Returns the number of balls on the joystick.}}
| |
− | == Other Languages ==
| |
− | {{i18n|love.joystick.getBallCount}}
| |