How to install xbox controller drivers on Rocky 9?

It seems xbox controller is not included with Rocky 9. I am using rocky 9 as workstation and I really want to use steam for my gaming. If there is no rpm please provide me steps on how to compile the source for Rocky 9 and where can I upload it that everyone can find it?

Assuming you mean xpadneo? If so, their github repo explains how to build it: GitHub - atar-axis/xpadneo: Advanced Linux Driver for Xbox One Wireless Controller (shipped with Xbox One S)

Thanks you for replying so fast! I have already tried it and steam tries to emulate the controller as keyboard and mouse. Have you installed it and it worked for you?