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.
Created attachment 582248 [details, diff] Announced patch for hatari emulator
Did you send the patch upstream too? Please link upstream ticket here too.
URL to external pull request added.
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(+)