Here's how to play on Xbox One with a PS4 controller.
How to Connect a PS4 Controller to an Xbox – Use a PS4 Controller on an Xbox – Xbox Series, Xbox ONE
To connect a PS4 controller to Xbox One, use the CronusMAX PLUS adapter. This is one of the most reliable ways to pair the controller and console.
Connect the CronusMAX PLUS to your PC with internet connection. The drivers will be installed automatically.
Once CronusMAX PLUS is loaded on the PC, load the Cronus PRO application and select Tools > Options > Device.