gamepad unplugged detection

19 views
Skip to first unread message

Joaquin Bello

unread,
Feb 20, 2015, 3:32:45 PM2/20/15
to haxef...@googlegroups.com
Hi, I need to detect when a joystick is unplugged. I tired verifying the number of FlxG.gamepads.numActiveGamepads but it just adds new controllers once you disconnect them. 
I found and old issue https://github.com/HaxeFlixel/flixel/issues/1128, but apparently the behavior continues to be the same as the one reported originally. Do I need to use the github version?

I'm using Flixel-3,3,6

Thanks!
Reply all
Reply to author
Forward
0 new messages