Mod Controller for Xbox game streaming in Horizon?

It would be nice if there was an ability to mod a controller in horizon, such as enabling rapid fire, or enabling button combinations etc. I have been testing Windows 10 streaming Xbox games, and it would be awesome if there was a way to mod the controller with software(I gave up on modded controllers years ago!!!).

Ive seen a thread which has what I’m looking for, except the script is for keyboard and mouse, not controller.