How to Detect Gamepad Type C++ or BP

How do you detect which type of gamepad is connected?

I would like to change the button icons, or glyphs, rendered in the UI based on whether Sony or Microsoft style.

C++ or Blueprint doesn’t matter.

Thank you