JoyToKey.
Recognize up to 16 devices
Recognize more than one HAT per device
8 axis per device
Up to 32 buttons (Windows limitation)per device
Notice - It was not done considering joystick but gamepads, but work fine with first an is easy to configure/use.
Allow change assignments in game - if game support Alt+Tab.
Sokol1