Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#288432: supertux: Joystick does not work

34 views
Skip to first unread message

Francesco Poli

unread,
Apr 27, 2013, 2:00:02 PM4/27/13
to
On Sun, 21 Aug 2005 02:43:57 +0200 Pierre Pronchery wrote:

[...]
> So, basically, if you want supertux tu
> use your joystick as is, use the "-j" flag on the command line (more
> options are available to alter the mapping).
[...]

Hello everyone,
what's the status of this bug?

I tried to use a joypad with supertux myself (on an updated Debian
testing box) and I experienced the issue originally reported by Stefan:

Warning: Could not open joystick -1.
The Simple DirectMedia error that occured was:
There are 1 joysticks available

with supertux basically ignoring any input coming from the joypad.

However, after reading Pierre's reply, I tried with

$ supertux -j 0

and it seemed to work, even though there's no in-game configuration
menu for joystick/joypad input.
By the way, I see that there's the --joymap XAXIS:YAXIS:A:B:START
command-line option, but it's not clear to me what I should specify
as its argument... Is anyone able to clarify?

Then I tried again without the -j 0 command-line option

$ supertux

and it seemed to be magically able to find and use my joypad.
Awkward... Why was it unable to find it before?!?

Anyway, I am not sure I understand what Pierre's patch is supposed to
do.
Has it already been applied?
If not, why?
Has it already been forwarded upstream?
If not, why?

Is there any chance that supertux gets a proper in-game configuration
menu for joypad input?

Please let me know, thanks for your time.

--
http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
New GnuPG key, see the transition document!
..................................................... Francesco Poli .
GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE

Vincent Cheng

unread,
Apr 27, 2013, 7:50:02 PM4/27/13
to
Hi Francesco,

On Sat, Apr 27, 2013 at 10:48 AM, Francesco Poli
<inver...@paranoici.org> wrote:
> On Sun, 21 Aug 2005 02:43:57 +0200 Pierre Pronchery wrote:
>
> [...]
>> So, basically, if you want supertux tu
>> use your joystick as is, use the "-j" flag on the command line (more
>> options are available to alter the mapping).
> [...]
>
> Hello everyone,
> what's the status of this bug?

I've no idea, because I don't have a joystick to confirm this bug
and/or test any patches (hence I've just left this sitting here in the
BTS when I first adopted supertux).

> I tried to use a joypad with supertux myself (on an updated Debian
> testing box) and I experienced the issue originally reported by Stefan:

That means you're using the 0.1.x release, right? Can you please
upgrade your supertux packages to 0.3.x in experimental and see if
this is still reproducible?

> Warning: Could not open joystick -1.
> The Simple DirectMedia error that occured was:
> There are 1 joysticks available
>
> with supertux basically ignoring any input coming from the joypad.
>
> However, after reading Pierre's reply, I tried with
>
> $ supertux -j 0
>
> and it seemed to work, even though there's no in-game configuration
> menu for joystick/joypad input.
> By the way, I see that there's the --joymap XAXIS:YAXIS:A:B:START
> command-line option, but it's not clear to me what I should specify
> as its argument... Is anyone able to clarify?
>
> Then I tried again without the -j 0 command-line option
>
> $ supertux
>
> and it seemed to be magically able to find and use my joypad.
> Awkward... Why was it unable to find it before?!?
>
> Anyway, I am not sure I understand what Pierre's patch is supposed to
> do.
> Has it already been applied?
> If not, why?
> Has it already been forwarded upstream?
> If not, why?

AFAIK, no and no. Development has shifted onto supertux's 0.3 branch,
so I'd appreciate it if someone with a joystick can review, update,
and test the patch with 0.3.x before forwarding it upstream. :)

> Is there any chance that supertux gets a proper in-game configuration
> menu for joypad input?

No idea, sorry.

Regards,
Vincent


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Francesco Poli

unread,
May 1, 2013, 1:10:02 PM5/1/13
to
On Sat, 27 Apr 2013 16:44:52 -0700 Vincent Cheng wrote:

> Hi Francesco,

Hello Vincent!

>
> On Sat, Apr 27, 2013 at 10:48 AM, Francesco Poli
> <inver...@paranoici.org> wrote:
> > On Sun, 21 Aug 2005 02:43:57 +0200 Pierre Pronchery wrote:
> >
> > [...]
> >> So, basically, if you want supertux tu
> >> use your joystick as is, use the "-j" flag on the command line (more
> >> options are available to alter the mapping).
> > [...]
> >
> > Hello everyone,
> > what's the status of this bug?
>
> I've no idea, because I don't have a joystick to confirm this bug
> and/or test any patches (hence I've just left this sitting here in the
> BTS when I first adopted supertux).

Well, I happen to have a joypad: it has sat on a shelf for a long time,
but now I am beginning to see what I can do with it under GNU/Linux (at
last!).

>
> > I tried to use a joypad with supertux myself (on an updated Debian
> > testing box) and I experienced the issue originally reported by Stefan:
>
> That means you're using the 0.1.x release, right? Can you please
> upgrade your supertux packages to 0.3.x in experimental and see if
> this is still reproducible?

I upgraded to supertux/0.3.3-5 from experimental and, during these
days, I have tested it a bit.

Wow! The game was improved in many many respects: I am really impressed!
Kudos to the upstream developers!

There are some issues (which I will describe in separate bug reports)
and the program spits out lots of warnings to stderr such as:

[WARNING] /tmp/buildd/supertux-0.3.3/src/video/texture_manager.cpp:52
Texture '/images/tiles/water/waves-trans-2.png' not freed

but, overall, the game is much better than before, my joypad is
recognized like a charm, it works correctly and there's an in-game
joystick input configuration menu.


[...]
> >
> > Anyway, I am not sure I understand what Pierre's patch is supposed to
> > do.
> > Has it already been applied?
> > If not, why?
> > Has it already been forwarded upstream?
> > If not, why?
>
> AFAIK, no and no. Development has shifted onto supertux's 0.3 branch,
> so I'd appreciate it if someone with a joystick can review, update,
> and test the patch with 0.3.x before forwarding it upstream. :)

Before testing the patch, we should understand what it is supposed to
do...

>
> > Is there any chance that supertux gets a proper in-game configuration
> > menu for joypad input?
>
> No idea, sorry.

I can now reply to myself: there is indeed an in-game configuration
menu for joystick/joypad input in supertux/0.3.3-5 and it seems to work.

As far as I can tell, I am under the impression that this bug report
may be closed as fixed in supertux/0.3.3-5 ...

Francesco Poli

unread,
May 4, 2013, 5:40:01 PM5/4/13
to
On Thu, 2 May 2013 02:31:36 -0700 Vincent Cheng wrote:

[...]
> On Wed, May 1, 2013 at 10:03 AM, Francesco Poli
> <inver...@paranoici.org> wrote:
[...]
> > As far as I can tell, I am under the impression that this bug report
> > may be closed as fixed in supertux/0.3.3-5 ...
>
> Closed as requested.

Good!

>
> I've forwarded #706582 and #706564 upstream as well (cc'ed you with my
> mail to con...@b.d.o, so you should have the links to the upstream
> bug tracker as well).

Thank you so much!

> Note that I haven't actually had any contact
> with upstream devs at all prior to today and I don't know them any
> better than you do, so it'd probably be faster if you cut out the
> middleman and just report bugs directly upstream. ;)

I see that the upstream bug tracker requires an account: sorry, I
cannot register an account for the upstream bug tracker of each Debian
package I use...
Moreover, the Debian BTS is far better than the vast majority of other
bug trackers.
0 new messages