mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
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:
@@ -196,7 +196,7 @@ static const luaL_Reg functions[] =
|
||||
{ "isGamepadDown", w_Joystick_isGamepadDown },
|
||||
|
||||
// From wrap_JoystickModule.
|
||||
{ "getIndex", w_getIndex },
|
||||
{ "getConnectedIndex", w_getIndex },
|
||||
{ "getGamepadMapping", w_getGamepadMapping },
|
||||
{ 0, 0 },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user