PS4 controller support disconnects automatically

Enter a description of your issue here, in full detail.

I just downloaded citra nightly version yesterday and got the Pokemon ultra sun rom. I’ve been trying to us my PS4 controller. The thing is it gets detected and I get to change the controller scheme. But after 5 mins it won’t work and I need to re assign all the controls even though it says the right button. Any solution’s?
System Information

  • Operating System: windows 1/
  • CPU: intel i5-9400f
  • GPU: NVIDIA GTX 1050 Ti
  • Citra Version (found in title bar): I download it just now and will edit the post with version since I’m not home
  • Game: Pokemon ultra sun
    If log is needed will post it soon

In order for us to provide better support, we need to see the log generated by Citra. This guide will walk you through how you can obtain the log file: How to Upload the Log File.