Joystick:getGamepadMapping
Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the button, axis or hat that a virtual gamepad input is bound to. Function Synopsis inputtype, inputindex, hatdirection = Joystick:getGamepadMapping( axis ) Arguments GamepadAxis axis The virtual gamepad axis to get the binding for.
Returns JoystickInputType inputtype The type of input the virtual gamepad axis is bound to. number inputindex The index of the Joystick's button,