Why do none of my gamepads work in UE4 but all work playing games from Epic?

Why do none of my gamepads work in UE4 but all work playing games from Epic?

This problem has seriously demotivated me as I can seem to find a solution.
Strangely enough I also have an Xbox emulation pad which activates the Xbox menu but also will not work in the editor. What do I need to do? Thanks guys.

Have you set up inputs for gamepad in project settings?