Bug#288432: supertux: Joystick does not work

Vincent Cheng vincentc1208 at gmail.com
Sat Apr 27 23:44:52 UTC 2013


Hi Francesco,

On Sat, Apr 27, 2013 at 10:48 AM, Francesco Poli
<invernomuto at 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



More information about the Pkg-games-devel mailing list