How to indicate if the player using a xbox controller on pc?

is there any “smart” way to know if the player is using a controller? i have to check all the buttons and axes each Uptade? i’m looking for something like:
\change GUI icons or something…

Good day.

Maybe this post han help you.