Can u use 2 controllers 4 2 separate players in 1 game?

I use an ipad 3 with the latest retroarch. I noticed that in 1 of the many submenus, their’s an option for a player 2 controller configuration of button layout,etc. Does adding a 2nd controller, lets say another ps3 or maybe wiimote, does it have to be the same?, would the process of connecting/pairing be the same as the 1st controller? any suggestions or input on how all that works? :lol:

https://www.youtube.com/watch?v=ZpRHlGw2Gvo