Add Joystick:getGamepadMappingString and love.joystick.getGamepadMappingString(guid). Resolves issue #1371.

This commit is contained in:
Alex Szpakowski
2019-09-15 14:02:19 -03:00
parent 9ab2a94037
commit 33bc8aabfc
8 changed files with 90 additions and 11 deletions
+1
View File
@@ -153,6 +153,7 @@ public:
virtual bool isGamepadDown(const std::vector<GamepadButton> &blist) const = 0;
virtual JoystickInput getGamepadMapping(const GamepadInput &input) const = 0;
virtual std::string getGamepadMappingString() const = 0;
virtual void *getHandle() const = 0;