mirror of
https://github.com/love2d/love.git
synced 2026-08-18 19:54:22 +02:00
Work around SDL issues in Joystick:getGamepadMapping with XInput controllers (issue #1239).
This doesn’t fix the underlying issues in SDL so there may be other aspects of love.joystick which are still affected. --HG-- branch : minor
This commit is contained in:
@@ -152,6 +152,8 @@ public:
|
||||
virtual float getGamepadAxis(GamepadAxis axis) const = 0;
|
||||
virtual bool isGamepadDown(const std::vector<GamepadButton> &blist) const = 0;
|
||||
|
||||
virtual JoystickInput getGamepadMapping(const GamepadInput &input) const = 0;
|
||||
|
||||
virtual void *getHandle() const = 0;
|
||||
|
||||
virtual std::string getGUID() const = 0;
|
||||
|
||||
Reference in New Issue
Block a user