love.joystick.isDown gets multiple arguments too

This commit is contained in:
Bart van Strien
2011-04-07 19:06:36 +02:00
parent fe6d168bf1
commit 529530c198
4 changed files with 25 additions and 10 deletions
+2 -2
View File
@@ -59,7 +59,7 @@ namespace sdl
float getAxis(int index, int axis);
int getAxes(lua_State * L);
int getBall(lua_State * L);
bool isDown(int index, int button);
bool isDown(int index, int * buttonlist);
Hat getHat(int index, int hat);
void close(int index);
@@ -74,4 +74,4 @@ namespace sdl
} // joystick
} // love
#endif // LOVE_JOYSTICK_SDL_JOYSTICK_H
#endif // LOVE_JOYSTICK_SDL_JOYSTICK_H