How do I check if PC player is using kb+m or an xinput controller?

I need to setup different stuff, based on the fact that user is using a controller, or not.

So, how do I check, possibly in BPs if user has an Xinput controller connected?

I think a lot of games just check for controller inputs, and if it detects something then it changes to controller UI prompts.

I agree if it’s just a visual thing. Or you could just ask the player when they are starting a new game what controls to use. A lot of games do that.