Gamepad doesn't work on Linux

I’m on Unreal 4.9.2 and I’m trying to get the xbox wired controller to work on Linux. The controller works fine for other games made in Unity so it is not a driver issue in my opinion. It registers itself under various device names based on which USB port it is plugged in into. I see 4 profiles under jstest-gtk and one of them responds to input actions. Any ideas what the problem might be?

Sorted this out. I needed to uninstall ubuntu-xboxdrv and xboxdrv and then install xpad and joystick. I also removed some manually compiled SDL libaries.