Hello
Controllers for game consoles are not always compatible with a computer.
If you've tried it before, and it doesn't work, you can look for specialized sites.
Sometimes there is software that allows the operation of a gamepad.
But the result may not be as good as on the console
You will therefore have to look for compatible controllers for this PC game (if there are any recommendations)
Otherwise, there are many models, prefer a known brand!
[edit]sorry, it's in French
but just for example, it doesn't seem very complicated:
https://www.frandroid.com/comment-faire/tutoriaux/675299_comment-connecter-manette-ps4-pc
or
http://ds4windows.com/
Expert volontaire :Forum Fr 17-10-2009 :
Please remember to mark the answers this can help other users:
please click on the accept as solution button if message provided an answer to the problem