love.joystick.saveGamepadMappings
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.
Contents
Function
Saves the gamepad mappings of all relevant joysticks to a file.
Synopsis
mappings = love.joystick.saveGamepadMappings( filename )
Arguments
string filename
- The filename to save the mappings string to.
Returns
string mappings
- The mappings string that was written to the file.
Function
Returns the mappings string without writing to a file.
Synopsis
mappings = love.joystick.saveGamepadMappings( )
Arguments
None.
Returns
string mappings
- The mappings string.
See Also
- love.joystick
- love.joystick.loadGamepadMappings
- love.joystick.setGamepadMapping
- Joystick:getGamepadMapping
- Joystick:isGamepad
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info