Input hints in UI: How to detect currently used input device?

The described workaround is not enough for our game. We would like to be able to show different UI hints based on the type of controller (PS4, XBox, Keyboard, etc. ) i looked into the source, but i can’t figure out on how to do this. I assume more people would like to do something similar? Any suggestions/ideas?