Diagonal input from gamepad "hat" events is not reset properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zsnes (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: zsnes
Using a USB gamepad (Saitek Ps 2700 Rumble), I assigned a normal button layout in zsnes that uses the "hat" for up/down/left/right (I'm referring to the digital direction input, not the analog stick). When I'm playing a game and move diagonally down and right, then move the hat to point straight to the right without releasing it in between, the character keeps moving diagonally instead of straight to the right. This behaviour for example makes it impossible to perform many combo moves in Street Fighter II.
This is not a problem with the gamepad hardware nor with the game, since it works properly on Windows. I found a forum thread discussing the issue and another one with a plausible-looking patch, which might be worth including in the ubuntu package until it's fixed upstream. I did not test the patch yet.
Discussion: http://
Patch: http://
ProblemType: Bug
Architecture: i386
Date: Wed Feb 10 14:42:47 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: zsnes 1.510-2.2ubuntu3
ProcEnviron:
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: zsnes
Uname: Linux 2.6.31-19-generic i686
XsessionErrors:
(gnome-
(nautilus:2085): Eel-CRITICAL **: eel_preferences
(polkit-
(firefox:2992): GLib-WARNING **: g_set_prgname() called multiple times
I just tried out the patch. It apparently refers to an older version of the source file if I interpret the output from patch correctly, but it was applied fine and resolves the issue for me.
The zsnes project at sourceforge seems to be inactive. There have been no commits for over a year even though there are suggested patches.