love.joystick.setGamepadMapping
Available since LÖVE 0.9.2 This function is not supported in earlier versions. Due to a bug, any mapping that is a suffix of another (for example "x" is a suffix to "leftx") needs to be mapped first Binds a virtual gamepad input to a button, axis or hat for all Joysticks of a certain type. For example, if this function is used with a GUID returned by a Dualshock 3 controller in OS X, the binding will affect Joystick:getGamepadAxis and Joystick:isGamepadDown