If you do not have one, you can buy it at any video game store or even on Amazon. In this tutorial it is obvious that the user must have a DualShock 4 controller for PS4. In other cases, it is simply for a reason of taste or preference. This is usually common if the video games are racing or adventure since, thanks to the analog controls, gameplay and precision are usually facilitated in these specific cases. It is true that many users would prefer to play video games using keyboards, however many others prefer to use the controls of their consoles. Once you have paired your DualShock 4 control with your Mac, you will be able to enjoy video games in much the same way as you would on your PlayStation 4 console. Related: How to connect the PS4 controller to Android or iPhone (ex Fortnite)
The truth is that until now you could also connect the PS4 controls with your Mac, however after the last update for MacOS Catalina 10.15 and later, it is much easier.
So many wonder if it is possible to pair the controls of their Playstation 4 with their Mac OSx in order to improve their gaming experience. Although not very common, Mac and Macbook OSx users can enjoy certain video games on their computers.