I made this config file for my Mayflash Magic-NS adapter on its blue "DInput" mode. I tested it and confirmed working with an Xbox One S/X controller. Not sure about other controllers, but I assume that it outputs the same information regardless.
Edit: I should note that it might be beneficial to swap both A/B and X/Y depending on the connected controller.
I made this config file for my Mayflash Magic-NS adapter on its blue "DInput" mode. I tested it and confirmed working with an Xbox One S/X controller. Not sure about other controllers, but I assume that it outputs the same information regardless.
Edit: I should note that it might be beneficial to swap both A/B and X/Y depending on the connected controller.