Hi guys!
I'm working on my first Linux project, an emulator box. I'm running Ubuntu 8.04, and what I'm trying to do is have each of my 4 gamepads (two NES to USB adaptors, and two 8 button gamepads) be assigned the SAME position when connected, so that gamepad 1 is ALWAYS js0, and so on. That way, once I have the buttons set in my emulator, they won't change with each reboot.
I found a good start to things on the Ubuntu forums using Udev rules, and I've found some attributes to identify each, and think I know how to create the appropriate rules to make a static SYMLINK for each device. What I don't know how to do is ask the system to put the specific SYMLINK (if its active) in the appropriate "js" position.
Here's the link to my question on the Ubuntu forum:
[ubuntu] How do I get multiple joysticks to be detected in the same order - Ubuntu Forums
If anyone has some insight into the problem, it would be very welcome!
Thanks guys!