Gamepad not working

I am using a ps4 controller using a program that tells the computer it is an xbox controller, so ue4 works, up until now, this has worked fine for weeks, however now it isnt working in game. It will move around the editor, meaning it registers it and the program and controller are working fine, but it wont work in game, any suggestions?