Added love.joystick.loadGamepadMappings (resolves issue #842), and Joystick:saveGamepadMapping.

The latter returns a mapping string, and the former loads a newline-separated list of mapping strings.
This commit is contained in:
Alex Szpakowski
2014-06-04 15:50:06 -03:00
parent dfa319e01a
commit 79b453653a
14 changed files with 166 additions and 35 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ namespace filesystem
* so a matching release() is required!
* May trigger a Lua error.
**/
FileData *luax_getFileData(lua_State *L, int idx);
FileData *luax_getfiledata(lua_State *L, int idx);
bool hack_setupWriteDirectory();
int w_init(lua_State *L);