Renamed Joystick:getProductGUID back to Joystick:getGUID

This commit is contained in:
Alex Szpakowski
2013-08-30 23:50:29 -03:00
parent a3571b97bd
commit 3ac0710544
8 changed files with 14 additions and 14 deletions
+3 -3
View File
@@ -66,10 +66,10 @@ int w_Joystick_getID(lua_State *L)
return 2;
}
int w_Joystick_getProductGUID(lua_State *L)
int w_Joystick_getGUID(lua_State *L)
{
Joystick *j = luax_checkjoystick(L, 1);
luax_pushstring(L, j->getProductGUID());
luax_pushstring(L, j->getGUID());
return 1;
}
@@ -192,7 +192,7 @@ static const luaL_Reg functions[] =
{ "isConnected", w_Joystick_isConnected },
{ "getName", w_Joystick_getName },
{ "getID", w_Joystick_getID },
{ "getProductGUID", w_Joystick_getProductGUID },
{ "getGUID", w_Joystick_getGUID },
{ "getAxisCount", w_Joystick_getAxisCount },
{ "getButtonCount", w_Joystick_getButtonCount },
{ "getHatCount", w_Joystick_getHatCount },