Replaced love.joystick.getJoystick with love.joystick.getJoysticks (returns a table of all connected joysticks), and renamed Joystick:getIndex to Joystick:getConnectedIndex

This commit is contained in:
Alex Szpakowski
2013-08-26 17:37:59 -03:00
parent 75eb34379c
commit 6ade6225df
3 changed files with 14 additions and 12 deletions
@@ -32,7 +32,7 @@ namespace joystick
namespace sdl
{
int w_getJoystick(lua_State *L);
int w_getJoysticks(lua_State *L);
int w_getIndex(lua_State *L);
int w_getJoystickCount(lua_State *L);
int w_isGamepad(lua_State *L);