HaxeFlixel/flixel-docs — pull request #9 by AlexMcGilvray (2014-03-03 05:58:34+00:00)
Title: Update 17-gamepads.html.md

When I tried using gamepads with a project I created today I was not able to use the gamepads.lastActive method to get a reference to the gamepads. After some experimentation the method I've edited worked for me. Specifically this line :

_gamePad = FlxG.gamepads.get(0);