[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] pygame.Joystick Broken in 1.8.1?



Hmmm... I'd rather not mess with my SDL build at the moment.

I'm going to write a joystick test in C some time today (or this weekend), to make sure it is SDL. It's odd that current SDL games are still working with joysticks.

cu,

On Thu, May 14, 2009 at 7:19 PM, René Dudfield <renesd@xxxxxxxxx> wrote:
hi,

It's pretty easy to build packages from source into debs...
http://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html

If you'd like to go ahead... I can make some mods to SDL, send them to you, so you can build the libsdl .deb and let me know what the debugging info is.


cheers,





On Fri, May 15, 2009 at 9:47 AM, René Dudfield <renesd@xxxxxxxxx> wrote:
hi,

definitely looks like a SDL/ubuntu issue...

Could be good to add some printf's into the SDL source to see where the problem is.

Do you know how to compile custom source debs?  I'm on Jaunty... so not sure how to make debs for intrepid.  Or do you know how to install SDL from source?


cu,







On Fri, May 15, 2009 at 9:04 AM, pymike <pymike93@xxxxxxxxx> wrote:
Here's the feedback:

>>> joy.get_numhats()
SDL_JoystickNumHats value:0:
0
>>> joy.get_numaxes()
6
>>> joy.get_numballs()
0
>>>

Anything else I should check? It reads button presses, but won't recognize sticks or hats.

--
- pymike





--
- pymike