Add love.joystick.reload, remove love.joystick.open and friends. (issue #392)

Reload originates from love-experiments, as noted in the ticket.
This commit is contained in:
Bart van Strien
2012-05-18 19:42:46 +02:00
parent fb6ffded14
commit 8211b8f93f
4 changed files with 40 additions and 28 deletions
+1 -3
View File
@@ -31,10 +31,9 @@ namespace joystick
{
namespace sdl
{
int w_reload(lua_State * L);
int w_getNumJoysticks(lua_State * L);
int w_getName(lua_State * L);
int w_open(lua_State * L);
int w_isOpen(lua_State * L);
int w_getNumAxes(lua_State * L);
int w_getNumBalls(lua_State * L);
int w_getNumButtons(lua_State * L);
@@ -44,7 +43,6 @@ namespace sdl
int w_getBall(lua_State * L);
int w_isDown(lua_State * L);
int w_getHat(lua_State * L);
int w_close(lua_State * L);
extern "C" LOVE_EXPORT int luaopen_love_joystick(lua_State * L);
} // sdl