Is there a way to emulate an Xbox controller? I've downloaded Onecast which allows me to stream an Xbox One to my Mac and it supports connecting an Xbox controller. Is there a way to emulate an Xbox controller with my keyboard and mouse on my Mac so I can use it in games?

I am using macOS Mojave. I would prefer to use an application that is under $10.
I haven’t used these to emulate an XBox One controller, but I have used these to emulate a whole range of others:


USB Overdrive 
ControllerMate


I’d start with USB Overdrive as it offers a much simpler interface. ControllerMate provides a lot of advanced functionality, but can take quite some time to suss out.