Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689538 - games-emulation/hatari does not support 80s joystick (with patch)
Summary: games-emulation/hatari does not support 80s joystick (with patch)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL: https://github.com/hatari/hatari/pull/4
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-07-09 14:09 UTC by Paul Osmialowski
Modified: 2019-11-10 21:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Announced patch for hatari emulator (2.1.0.patch,2.09 KB, patch)
2019-07-09 14:10 UTC, Paul Osmialowski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Osmialowski 2019-07-09 14:09:41 UTC
Some time ago I've bought USB adapter for 80s Atari-compatible joysticks (with DB9 connectors). It is recognized as 'hat' by SDL library joystick routines. Some emulators in portage tree (fuse, fs-uae) can read this (and overwrite axes readings with hat readings making excellent gaming experience) while the other (atari800, hatari) read axes only. With this ticket I'm attaching my patch for hatari that fixes this issue, giving amazing 80s-like gaming experiences for this amazing emulator.


Reproducible: Always

Actual Results:  
Atari DB9 joystick can't be read by emulated games.

Expected Results:  
Atari DB9 joystick can control emulated games.
Comment 1 Paul Osmialowski 2019-07-09 14:10:42 UTC
Created attachment 582248 [details, diff]
Announced patch for hatari emulator
Comment 2 Jonas Stein gentoo-dev 2019-07-09 21:59:32 UTC
Did you send the patch upstream too? Please link upstream ticket here too.
Comment 3 Paul Osmialowski 2019-07-10 13:50:46 UTC
URL to external pull request added.
Comment 4 Larry the Git Cow gentoo-dev 2019-11-10 21:39:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95918849608a85cb055a0736754981ff9adf5d1a

commit 95918849608a85cb055a0736754981ff9adf5d1a
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2019-11-10 21:37:12 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2019-11-10 21:39:27 +0000

    games-emulation/hatari: Bump to 2.2.1, EAPI 7, lots of improvements
    
    It turns out most of the dependencies are optional.
    
    Closes: https://bugs.gentoo.org/689538
    Package-Manager: Portage-2.3.79, Repoman-2.3.17
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-emulation/hatari/Manifest                    |  1 +
 .../hatari/files/hatari-2.2.1-default-rom.patch    | 16 +++++
 .../hatari/files/hatari-2.2.1-joystick.patch       | 59 ++++++++++++++++
 games-emulation/hatari/hatari-2.2.1.ebuild         | 80 ++++++++++++++++++++++
 games-emulation/hatari/metadata.xml                |  3 +
 5 files changed, 159 insertions(+)