Main > Main Forum
USB Gamepad Question
ahofle:
Don't the ultrasticks allow the user to program their IDs at any time?
SavannahLion:
--- Quote from: ahofle on July 13, 2007, 01:08:03 am ---Don't the ultrasticks allow the user to program their IDs at any time?
--- End quote ---
I've never noticed that. That's two then.
But that doesn't really resolve the problem with the Logitech wheel. I haven't purchased any of the upper end Logitech products recently, but I don't recall ever seeing Logitech with selectable ID's.
Dmod:
The ultrasticks allow you to program them, at least with respect to one another. But the IDs don't stay 1 and 2 when you plug in a logitech wheel or a red octane gamepad.
The logitech and red octane equipment always seems to come up as the first devices when they are plugged in, irregardless of the order in which you attach the devices.
Green Giant:
--- Quote from: AlexKidd on July 12, 2007, 11:52:33 pm ---I don't believe it's a windows issue.
--- End quote ---
This is a problem with Windows, or at least Windows is the reason for it happening. Dmod was asking why mame/mala keeps reassigning the controls when windows assigns the ID number.
Even if the logitech device is grabbing the usb slot, it should remain stable in that spot as long as you don't unplug it. If the logitech wheel wants the first USB slot, then let it have it. Sounds like your problem is you have to unplug it, the logitech wheel, and store it somewhere. A simple solution would be to leave it plugged in and inside your cab, should have some room in the bottom where the computer is. If it repeats the problem of assignment every time, then you might as well assign the sticks and wheel in Mala and mame. Might take a little while to reassign things, but in the long run you won't be deleting usb devices every time.
My cab did something similar when I was setting up the controls. I assigned everything with a mouse attached along with the trackball. Then when I removed the mouse, the trackball was reassigned. Instead of redoing everything, I just leave the mouse sitting in the cab with the computer.
Dmod:
The problem is the logitech wheel is going to be mounted on a seated platform that I can roll in front of my upright for driving games, so it's not really feasible to leave it plugged in all the time.
If the Logitech driver can steal the first slot, it should be possible to develop a similar utility that finds and recognizes your usb gamepads, allows you to specify the desired order of the devices, and reassigns the usb addresses.
You might still have to rerun the utility after hot-swapping a game controller but that would be easy to launch in a batch file whenever you start your front-end.
If anyone can point me in the right direction to develop something like this, I might be willing to give it a go.