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
pgp0lXGj7gS3z.pgp
Description: PGP signature