Jesse Guardiani wrote:

[...]

20-xpad.rules
------------------------------
This file goes in /etc/udev/rules.d on Gentoo. It maps my Mad Catz controller to /dev/input/js_madcatz and /dev/input/js_madcatz2. This way I can enter these symlink paths in my MythGame config menu. I can then remove the controller at will and rest assured that it will always return to the same /dev node when I plug it back in. If you run udev, you can change the idProduct and idVendor values to match your controller. Or, if you're controller reports a serial, use that. Mine didn't. NOTE: This rule file creates TWO symlinks. That isn't a typo. It does this because MythGame uses the first one and xmame uses the second one. For some reasons xmame wouldn't read the joystick device properly on my system if MythGame and xmame both pointed to the same device symlink.

See attached for an update to this file. I used the wrong syntax for multiple symlinks and didn't test
properly. The attached file fixes the problem.

--
Jesse Guardiani
Programmer/Sys Admin
[EMAIL PROTECTED]

BUS="usb", KERNEL="js*", SYSFS{idProduct}=="2010", SYSFS{idVendor}=="0e8f", 
NAME="input/%k", MODE="0664", GROUP="games", SYMLINK="input/js_madcatz 
input/js_madcatz2"
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to