if you are on windows then try installing ds4 windows, it turns your controller into an xbox 360 one which works with most games.
Also ds4 windows let's you use the trackpad as a mouse which is cool and map controller inputs directly to keyboard inputs, for example X button>Z key.
Hope this helps!