I wanted to buy a controller for my PC, but can't decide between the two.
Personally, I think the PS4 controller looks better because I'm not that much of an Xbox fan either, but I've heard that the Xbox controller should be compatible with almost all games, isn't that the case with the PS4 controller?
So the Xbox controller is better than the PS4 controller in terms of response time, for example.
That alone would be reason enough for the Xbox controller.
There are actually games with which the ps4 controller is not compatible. E.g. Forza Horizon 4. In addition, most PCs have Windows operating systems, which is from Microsoft and the controller is also from Microsoft, so it should be significantly less stressful.
I have a PS4 controller and it has worked with every game without any problems.
Definitely Xbox controller! It lies much better in the hand and is more durable.
Windows is from Microsoft, the Xbox controller too. Sony is a competitor, so Xbox controller support is given preference under Windows.
You can use the PS4 controller on the PC in almost every game, the problem is that for some games on the PC "only" the Xbox buttons are displayed in the game's UI ('A', 'B', 'X' and 'Y').
If you want a hassle-free gaming experience with the controller, then you'd better get an Xbox controller