DS4windows is an antiquated program. Use InputMapper and have it emulate an Xbox pad. If you're using Windows 10, a lot of input programs will not properly use the controller in "exclusive mode", which means you'll get the XInput emulation layered on top of the raw inputs that the PS4 controller already supports for windows. I had this problem for a while when I was using older DS4 programs. InputMapper will tell you if it manages to actually get the controller into "exclusive mode", and if it does, you're good. If it only goes to "shared mode" you'll get the same problem as before, but there are fixes that work with InputMapper to get around this.