Define gamepad device type using blueprint

Hello everyone. I need help.

I need some blueprint logic to define gamepad device type: ps4, Xbox.
Maybe is there custom node, or c++ logic, which I can integrate into a project?

Thanks.