Once you have installed DS4Windows, you will need to connect your PS3 controller to your computer. You can do this with an USB cable or a wireless Bluetooth connection.
Once your controller is connected, you can open DS4Windows and click on the "Settings" tab. In the settings tab, you can map the buttons on your PS3 controller to the keyboard inputs that you want to use in Crossfire.
For example, you could map the X button to the "W" key, the O button to the "A" key, the L1 button to the "R" key, and so on.
Once you have mapped the buttons, you can click on the "Save" button to save your settings.
You can now launch Crossfire and start playing the game with your PS3 controller.