Hey so, I managed to fix this issue in my end. Its caused by a well known issue with DS4 where it provides double inputs (one of the HID controller and one from DS4). You can solve this by installing HIDHide from the settings tab in DS4 Windows.
In the future I may implement a solution within my game that can get the vendor ID of whatever controller you're using and ban duplicate inputs from controllers with the same ID, but I'll have to learn a few new things to make that work. In any case, installing HIDHide made my PS4 controller work perfectly.