I have a problem with lime.ui.Joystick, one of my controller is an old Logitech, it works only with the Joystick API not Gamepad.
My other controller is a classic xbox360, it works with both API so I decided to use lime.ui.Joystick.
My problem is when they are both connected, they switch their name, button mapping, guid… everything.
So to be clear, when I push a button on the Logitech controller in there
gamePad.onButtonDown.add (function (button:Int)
trace("gamePad.name : " + gamePad.name);
trace("gamePad.guid : " + gamePad.guid);
I get the name and the guid of the xbox controller. And same goes for the Xbox controller, they sort of switched their index id…
I tried to look inside the Joystick class and also in lime NativeApplication but It’s hard for me to see what the issue could be… I don’t see anything wrong in there.
I need your help, thanks !