love.joystick.getGamepadMappingString
Available since LÖVE 11.3 |
This function is not supported in earlier versions. |
Gets the full gamepad mapping string of the Joysticks which have the given GUID, or nil if the GUID isn't recognized as a gamepad.
The mapping string contains binding information used to map the Joystick's buttons an axes to the standard gamepad layout, and can be used later with love.joystick.loadGamepadMappings.
Function
Synopsis
mappingstring = love.joystick.getGamepadMappingString( guid )
Arguments
Returns
string mappingstring (nil)
- A string containing the Joystick's gamepad mappings, or nil if the GUID is not recognized as a gamepad.
See Also
- love.joystick
- Joystick:getGamepadMappingString
- Joystick:isGamepad
- love.joystick.loadGamepadMappings
- love.joystick.saveGamepadMappings
- love.joystick.setGamepadMapping
- Joystick:getGamepadMapping
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