hi,

This is the joystick bug email thread from before...


There's a thread on the SDL mailing list about how linux/ubuntu have changed
things... for no good reason it seems.
    http://thread.gmane.org/gmane.comp.lib.sdl/40019

pymike: are you around sometime to help me debug?  Otherwise I'll need to
pick up a joystick again (I gave away all of mine when I moved stupidly).

Here's the ubuntu bugs page for SDL... I suggest submitting a bug report
there (if you have already, please send me the bug link?):
https://bugs.launchpad.net/ubuntu/jaunty/+source/libsdl1.2

That's the best place to report this bug to get it fixed I think.  However
we still might be able to implement a work-around if needed.




cheers,




On Tue, Feb 17, 2009 at 1:03 AM, pymike <pymik...@gmail.com> wrote:

> We're getting "Invalid Hat Number" and some odd indexing errors in one
> game. I'll post the exact errors here in a bit. Basically, it's just not
> reading the hats or axes. I've tried both gamepads and joysticks, and get
> the same errors.
>
> Cheers,
>
>
> On Sun, Feb 15, 2009 at 11:33 PM, René Dudfield <ren...@gmail.com> wrote:
>
>> hi again,
>>
>> Just a note for help in debugging, that pygame joystick support didn't
>> change between pygame 1.8.0 and 1.8.1.  However there were a few small
>> changes between 1.7.1 and 1.8.0.
>>
>>
>>
>> On Mon, Feb 16, 2009 at 4:31 PM, René Dudfield <ren...@gmail.com> wrote:
>> > hi,
>> >
>> > thanks for the report.
>> >
>> > I think ubuntu/linux might have changed their joystick support
>> > somehow.  I read as much not long ago, but haven't looked into it yet.
>> >
>> >
>> > What are the errors?  Are they segfaults, or are exceptions raised?
>> > Or something else?
>> >
>> >
>> >
>> > cheers.
>> >
>> >
>> >
>> >
>> >
>> > On Sun, Feb 15, 2009 at 5:30 AM, pymike <pymik...@gmail.com> wrote:
>> >> Hi all,
>> >>
>> >> Me and my friend are having trouble with joysticks in pygame 1.8.1.
>> We're
>> >> both running Ubuntu 8.10 (on different machines in different countries)
>> >>
>> >> Basically, joysticks are initializing fine. joystick.get_button() also
>> is
>> >> working. However, when printing joystick.get_numhats() and
>> >> joystick.get_numaxes(), we're getting a zero. Obviously, executing
>> >> joystick.get_hat(0) and joystick.get_axis(0) gives us errors. We've
>> also
>> >> tried running some pygames that use joysticks, and they crash due to
>> >> hat/ball errors.
>> >>
>> >> However, I've tried some other SDL games that use joysticks, and they
>> all
>> >> work perfectly. Help?
>> >>
>> >> Thanks,
>> >>
>> >> --
>> >> - pymike
>> >> "Python eggs me on."
>> >>
>> >
>>
>
>
>
> --
> - pymike
> "Python eggs me on."
>

Reply via email to