MFI Controller issue

Hi there,

My game is a dual stick shooter. I want to enable the use of Moga Ace Power, and disable the controller for Logitech (which doesn’t have analog sticks). How can I determine which MFI controller is connected?

Thanks
tristan

when you check for wether or not a controller is connected, you get a list of names of the controllers. From there you can check if the name of the controller does not equal “[basic,wired]” ( that is the logictech one). Really you will want to check for the name “basic” as other controllers down the line will have the same layout and you will not want to support those either.