FS#52618 - [zsnes] diagonal gamepad-inputs not released when switching to straight directions

Attached to Project: Community Packages
Opened by Torben Schiffke (Hoerbert) - Wednesday, 18 January 2017, 13:45 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 13 January 2021, 14:47 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

In any ZSNES-game if you press any diagonal direction on a d-pad of a gamepad (e.g. down-left) and roll your thumb to one of the "real" directions (e.g. down) ZSNES still interprets this input as the diagonal direction. This only gets resolved, when you release the d-pad completely and only push the "real" direction.

This is a known bug [0] with an existing patch but since the project seems to be dead I see no hope for this patch to get included upstream.

So I wonder, if we could include this patch (see attachment) in our package? I adapted the patch for the current version and tested it locally and it works as intended. I'm not sure if this has any bad side-effects though.

If I can be of any further assistance just let me know.

Additional info:
* package version(s): 1.51-19

[0] http://board.zsnes.com/phpBB3/viewtopic.php?t=12544
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Wednesday, 13 January 2021, 14:47 GMT
Reason for closing:  Fixed
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 13 January 2021, 14:45 GMT
Thanks for reporting, applying patch.

Loading...