I have the same problem, if I use the DS4 controller without DS4windows, it works perfectly inside Retroarch. However, if I use DS4windows to make the controller work in Launchbox, only the "X360 controller" created by DS4windows works inside Retroarch, the dinput "DS4 controller" mapped as controller X1 is nonfunctional.