It might take a minute to figure out how it maps to an NES or Genesis controller, but after a few minutes of pressing buttons, you'll have it down. So what can you do with the PS4 controller on your Mac? OpenEmu, the best emulator out there, supports the DualShock 4 natively, so all you have to do is plug it in and start playing. Though it is nice to have your controller charging every time you plug it into your computer.
Now your controller is synced up via Bluetooth and you can do away with the USB cord.