Hey tylerwerrin, so i only see one device called GP-Wiz40. To map it from joystick #4 to #1, you can add the following entry to your controller config file:
<mapdevice device="GP-Wiz40" controller="JOYCODE_1" />
Note this requires mame .0179 or above.
That will just map GP-Wiz40 from joystick #4 to joystick #1. However, you also mentioned you have two GP-Wiz40 controllers, whereas mame only recognizes one. So if that's the case, it's a different problem. I'm not familiar with GP-Wiz40 - maybe someone else can help with that.