I had a similar situation with my Xeox controller with MAME. I had no problems using it with other games and emulators just MAME. I got it working in the end with MAME after fiddling with various options. AFAIR the thing that finally got it working was unchecking the box marked "mouse" on the MAME individual game settings. I'll check my config later but right now I've got to sleep...