mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
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:
@@ -56,6 +56,8 @@ public:
|
||||
|
||||
bool setGamepadMapping(const std::string &guid, Joystick::GamepadInput gpinput, Joystick::JoystickInput joyinput);
|
||||
Joystick::JoystickInput getGamepadMapping(const std::string &guid, Joystick::GamepadInput gpinput);
|
||||
void loadGamepadMappings(const std::string &mappings);
|
||||
std::string saveGamepadMapping(const std::string &pguid);
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user