Gamepad not working in UE4 or UE5, works everywhere else

When adding the gamepad axis mappings in the SimpleShooter course, Unreal doesn’t seem to be capturing the inputs from the gamepad when launching the game in the viewport, standalone, or in a packaged game.

I’ve verified that the XBox One controller works in Steam and other games, but unresponsive in Unreal. I’ve tried this in UE 5.0.1 and UE 4.27.2. I’ve tested it with several wired Xbox controllers with the same result. Mouse and keyboard work as expected. I’ve reinstalled both versions of the engine from scratch, cleaned and recompiled from Visual Studio, and double checked the DefualtInput.ini has the axis mappings. I even tried a solution I found using a gamepad emulator with no result.

One odd thing I noticed, sometimes when running the game in the PIE, using the d-pad or left thumb stick seems to be changing focus in the Unreal editor itself, i.e. I can see the blue window highlight shifting from window to window as I click the d-pad or use the left thumb stick, but the gamepad still doesn’t work in-game.

Any thoughts or additional troubleshooting ideas? Anyone else run into similar issues?

Windows 10
UE 5.0.1 & 4.27.2

1 Like

Hi and welcome to the community.

I had this issue a while back where the gamepad just stopped working in the editor. In the end I rebooted and after this, it seemed to work. Are you using it wired or wireless with a Windows Dongle for Xbox controllers, or via bluetooth?

Thanks for the reply, beegeedee. This is a usb-wired Xbox one controller.

Ended up solving this. Turns out I had an old XBox 360 controller driver installed in addition to the XBox One controller driver. I removed the XBox 360 controller driver and now the gamepad works as expected.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.