These are where you would change the input I believe but don't have any experience in doing so.
-keyboardprovider
Chooses how MAME will get keyboard input.
On Windows, you can choose from: auto, rawinput, dinput, win32, or none On SDL, you can choose from: auto, sdl, none
The default is auto. On Windows, auto will try rawinput with fallback to dinput. On SDL, auto will default to sdl.
-mouseprovider
Chooses how MAME will get mouse input.
On Windows, you can choose from: auto, rawinput, dinput, win32, or none On SDL, you can choose from: auto, sdl, none
The default is auto. On Windows, auto will try rawinput with fallback to dinput. On SDL, auto will default to sdl.
-lightgunprovider
Chooses how MAME will get light gun input.
On Windows, you can choose from: auto, rawinput, win32, or none On SDL, you can choose from: auto, x11 or none
The default is auto. On Windows, auto will try rawinput with fallback to win32, or none if it doesn’t find any. On SDL/Linux, auto will default to x11, or none if it doesn’t find any. On other SDL, auto will default to none.
-joystickprovider
Chooses how MAME will get joystick input.
On Windows, you can choose from: auto, winhybrid, dinput, xinput, or none On SDL, you can choose from: auto, sdl, none