Just wanted to drop this in because I've been faffing about for a while and was getting increasingly frustrated with controller tracking stopping whenever RahiTuber wasn't the active window.
If you're using an XBox One controller over bluetooth, there is apparently some kind of known issue with the xinput driver where ONLY the active window can see the inputs - if you tab out to anything (even just desktop) it stops responding . I had tried manually specifying controllers on all layers, both APIs, and I got to the point of installing vJoy and Joystick Gremlin thinking it was some kind of edge case Rahi hadn't found. Joystick Gremlin would then only work when IT was the active window, so I did more digging...
Turns out, just plug your controller in and use it via USB, and it works perfectly fine.
You MAY be able to tinker with drivers per the last comment on this reddit post but my controller didn't seem to want to pair afterwards.