Comment 3 for bug 1023153

Revision history for this message
J. Simon Gagne (jsgagne) wrote :

I ran into this bug too...

I took a look at the pygame sourcecode, especially the code behind the joystick.get_axis() function and I found this :

#ifdef DEBUG
    /*printf("SDL_JoystickGetAxis value:%d:\n", value);*/
#endif

So obviously the pygame package for ubuntu was compiled with the DEBUG flag set, instead of the release version....

The solution would be to recompile pygame correctly or, if you're after a quick hack, just delete those debug lines altogether and recompile.