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.
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 "SDL_JoystickGe tAxis value:%d:\n", value);*/
/*printf(
#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.