system
A chat on subreddit /r/pcmasterrace
human
You can use a PS4 controller on a Windows platform with the assistance of an application called DS4.
Not sure about PS5 since I never upgraded to that one.
gpt
I can confirm that the DS4 app works with the ps5 controller as well.