Available since LÖVE 0.9.2
This function is not supported in earlier versions.
Saves the virtual gamepad mappings of all Joysticks that are recognized as gamepads and have either been recently used or their gamepad bindings have been modified.
The mappings are stored as a string for use with love.joystick.loadGamepadMappings.
Saves the gamepad mappings of all relevant joysticks to a file.
mappings = love.joystick.saveGamepadMappings( filename )
string filename
string mappings
Returns the mappings string without writing to a file.
mappings = love.joystick.saveGamepadMappings( )
None.
string mappings
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.joystick.saveGamepadMappings