With all the games available on Steam that work on Linux you wouldn’t be unreasonable for wanting to use your Microsoft controller on your Fedora machines. Some games are just better played with a controller!
Thankfully xboxdrv has you covered!
You just need to install xboxdrv using;
$ sudo dnf install xboxdrv
Once that’s done just plug your controller in and run;
sudo xboxdrv
You’ll see a fair bit of output, try pressing some of the buttons and seeing it change!
X1: -4503 Y1: -1005 X2: 8205 Y2: 1 du:0 dd:0 dl:0 dr:0 back:0 guide:0 start:0 TL:0 TR:0 A:0 B:0 X:0 Y:0 LB:0 RB:0 LT: 0 RT: 0
X1: -5331 Y1: -1005 X2: 8205 Y2: 1 du:0 dd:0 dl:0 dr:0 back:0 guide:0 start:0 TL:0 TR:0 A:0 B:0 X:0 Y:0 LB:0 RB:0 LT: 0 RT: 0
X1: -5848 Y1: -1005 X2: 8205 Y2: 1 du:0 dd:0 dl:0 dr:0 back:0 guide:0 start:0 TL:0 TR:0 A:0 B:0 X:0 Y:0 LB:0 RB:0 LT: 0 RT: 0
X1: -6159 Y1: -1005 X2: 8106 Y2: 101 du:0 dd:0 dl:0 dr:0 back:0 guide:0 start:0 TL:0 TR:0 A:0 B:0 X:0 Y:0 LB:0 RB:0 LT: 0 RT: 0
Now you just need to leave that running and start your game!