I have a U360 and Logitech wingman gamepad I've instaled JoyId's software and the U360 is set as Id 1 but Mame still sees it as the second controller any Ideas?
Mame asks directInput ("enums") for all connected joysticks, and numbers them in the order directInput gives them to mame. The ID is not checked.
The order windows throws them at mame isn't constant across all computers. Tthe manufacture's identification numbers, the numbers the manufactures give the devices (DirectInput's guidProduct), and the order they were installed (directInput's guidInstance, which is the guidProduct plus some more numbers) all seem to effect the order enummed. This is why GGG and Ultimarc let you change the ID of their devices (guidProduct) and it effects how they show on mame: the device are given a higher device number (the last of the three I listed above) for players 2-4) than "player 1".
The app doesn't change the device ID (neither guidProduct), but windows "game controller ID", which mame doesn't use. Now, I think this game controller ID can change the numbers added to the guidProduct to make the guidInstance, but since this is after the guidProduct, it only helps if the devices have the same guidProduct (IOW are the same device).
FWIW, you can see some of the IDs mame sees if you look at device manager, and the properties of the devices, details, hardware Ids. For example, my three mice at work show:
HID\Vid_045e&Pid_00e1&Rev_0007&Col02
HID\Vid_045e&Pid_0095&Rev_0424&Col01
HID\Vid_046d&Pid_c517&Rev_3810&MI_01&Col01
The first two are MS mice (
vender ID:
Vid_045e), the last logitech (Vid_046d). The
product ID comes next (
Pid_###). These are fixed. JoyID cannot change them. I'm not sure about the rest of the info after that, but they come after the Vid & Pid, and thus can only effect the sort order if the Vid & Pid are the same.