flixel
flixel copied to clipboard
FlxGamepadManager: add lastActive history
Currently, when the lastActive gamepad disconnects, lastActive becomes null, even if there was another gamepad active before which is still connected. It would be more convenient if lastActive was set to that gamepad instead.
No breaking changes necessary here, moving this to 4.1.0.