PDA

View Full Version : Changing joystick IDs


superm1
June 8th, 2006, 10:44 PM
Is it possible to populate exact joystick /dev/input paths no matter which order they are plugged in?

I have difficulties in the fact if one is plugged into a different usb port rather than it normally is, then one is detected before the other. They are always both used, when they are used, but i'd like to leave them unplugged to keep my living room tidy. So is there a way to make say the second joystick always get /dev/input/js1 and the first one always get /dev/input/js0 no matter where they are plugged? Can this be accomplished using custom udev rules?