@ShivSJ
what system are you using win 11? 10?
the xbox controler using the wire that is like a android charge cable?
1st test the controller with another game
2nd test it with an n64 snes or genesis emulator
if 1 & 2 work and openbor does not:
lets rule out that SORX2 is the problem:
test with another module that uses or using an older openbor engine
3 make sure the Xbone controller is not enumerated as controller 5 or beyond.
last resort
from experience with windows 10, usb ports get corrupted big time, uninstall all usb and usb root hubs devices, uninstall the xbox conroller and re-start the system