I'm having issues mapping my input devices in MAME and was hoping someone might be able to tell me why. Below is the device mapping section I have in my ctrlr file. Currently I have only two of the four joysticks connected. For whatever reason they won't map correctly. Player 1 is always connecting to the second joystick and Player 2 is always connecting to the first joystick (these are UltraStik360s if that makes a difference). Even if I swap the JOYCODE_1 AND JOYCODE_2 they still keep the same mapping as described above. I should say the trackball section below seems to work perfectly. I can swap them back and forth and the control panel reacts correctly. I have not yet checked the lightguns. Below the mapping section is the output from the events tab of each joystick in the device manager. Does anyone have any suggestions of why it might not be working?
<!-- Joystick Player 1 -->
<mapdevice device="PID_0501&MI_00" controller="JOYCODE_1" />
<!-- Joystick Player 2 -->
<mapdevice device="PID_0502&MI_00" controller="JOYCODE_2" />
<!-- Joystick Player 3 -->
<mapdevice device="PID_0503&MI_00" controller="JOYCODE_3" />
<!-- Joystick Player 4 -->
<mapdevice device="PID_0504&MI_00" controller="JOYCODE_4" />
<!-- Trackball / Spinner Player 1 -->
<mapdevice device="PID_0301&MI_00" controller="MOUSECODE_1" />
<!-- Trackball / Spinner Player 2 -->
<mapdevice device="PID_0301&MI_01" controller="MOUSECODE_2" />
<!-- Lightgun Player 1 -->
<mapdevice device="PID_1601&MI_01" controller="GUNCODE_1" />
<mapdevice device="ATRAK Device #1" controller="JOYCODE_1" />
<!-- Lightgun Player 2 -->
<mapdevice device="PID_1602&MI_01" controller="GUNCODE_2" />
<mapdevice device="ATRAK Device #2" controller="JOYCODE_2" />
Device Manager: Events tab info:
Device HID\VID_D209&PID_0501&MI_00\9&396a36a4&0&0000 was configured.
Driver Name: input.inf
Class Guid: {745A17A0-74D3-11D0-B6FE-00A0C90F57DA}
Driver Date: 06/21/2006
Driver Version: 10.0.10586.420
Driver Provider: Microsoft
Driver Section: HID_Raw_Inst.NT
Driver Rank: 0xFF1003
Matching Device Id: HID_DEVICE_SYSTEM_GAME
Outranked Drivers: input.inf:HID_DEVICE:00FF1005
Device Updated: false
Parent Device: USB\VID_D209&PID_0501&MI_00\8&513d8c8&0&0000
Device HID\VID_D209&PID_0502&MI_00\9&2cb254b3&0&0000 was configured.
Driver Name: input.inf
Class Guid: {745A17A0-74D3-11D0-B6FE-00A0C90F57DA}
Driver Date: 06/21/2006
Driver Version: 10.0.10586.420
Driver Provider: Microsoft
Driver Section: HID_Raw_Inst.NT
Driver Rank: 0xFF1003
Matching Device Id: HID_DEVICE_SYSTEM_GAME
Outranked Drivers: input.inf:HID_DEVICE:00FF1005
Device Updated: false
Parent Device: USB\VID_D209&PID_0502&MI_00\8&1869dcd2&0&0000