Bug#561670: powermanga: D-pad won't move the ship straight left
Kalle Olavi Niemitalo
kon at iki.fi
Sat Dec 19 13:47:21 UTC 2009
Package: powermanga
Version: 0.90-dfsg-2
Severity: normal
I have connected a Logitech RumblePad 2 gamepad to my computer.
With it, I can control the ship in Powermanga using either
the D-pad or the left-side analog stick. However, if I push
the D-pad straight to the left, the ship doesn't react at all.
Other directions (including diagonals) are fine and so is the
analog stick. The jstest program shows that Linux is getting
the correct events from the gamepad.
The bug appears to be in powermanga-0.90-dfsg/src/display_sdl.c,
function display_handle_events. When it gets SDL_HAT_LEFT,
it sets not only joy_left = 1 but also joy_right = 1, which
presumably cancels the effect of joy_left.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (900, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages powermanga depends on:
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libsdl-mixer1.2 1.2.8-6+b1 mixer library for Simple DirectMed
ii libsdl1.2debian 1.2.13-5 Simple DirectMedia Layer
ii libxxf86dga1 2:1.0.2-1 X11 Direct Graphics Access extensi
ii powermanga-data 0.90-dfsg-2 graphics and audio data for powerm
powermanga recommends no packages.
powermanga suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20091219/97c96540/attachment.pgp>
More information about the Pkg-games-devel
mailing list