How do I get the number of Controllers attached to my Machine?

I want to create multiple local players based on the number of gamepads connected to my local computer.

Is there a way to detect the number of gamepads connected on Blueprint?

I have found this solution but It requires to compile the Engine code :frowning:

Thank you

Did you ever find a solution?

FCoreDelegates::OnControllerConnectionChange

Hope it helps!