Whenever I use the D-Pad, or left joystick on my gamepad (This one) it moves my mouse. This is kinda good when I do things that require the mouse, as I can also click with some of the other buttons, but very, very annoying when I am playing a game, as it moves out of the screen then clicks out of it.

So, I am hoping someone knows how to stop the controller from using the mouse functions.
Beginner, ubuntu 10.04 lucid lynx