atarimacosx / Atari800MacX

Atari800 Emulator for Mac OSX
http://www.atarimac.com
GNU General Public License v2.0
72 stars 17 forks source link

Gamepads not working properly #4

Open dharmabumstead opened 5 years ago

dharmabumstead commented 5 years ago

Atari800MacX is not consistently recognizing gamepads. I've tried a Sony PS3 controller in both wired and BlueTooth mode. Atari800MacX has only recognized it once in the 'Preferences' menu, but even then wouldn't recognize any buttons or allow any sort of mapping. I know this particular gamepad is working because it works fine in Stella for Mac OS X.

atarimacosx commented 5 years ago

If you open up the Messages window (Control menu, Show messages window... item), do you see the controller listed as a joystick there? I do not have a Sony PS3 controller, I only have 2 USB gamepads.

The test mode you get with the Window that pops up when you press Identify Gamepad... in the Controllers Tab of the Preferences window is not currently working. libSDL changes have broke that for all controllers, and at the moment I don't have a workaround for that.

Have you tried the older 4.6 version of Atari800MacX? Obviously sound won't work, but does it recognize the controller?

Atari800MacX tries to open the joysticks that are found by libSDL, it may be an SDL bug. I don't know what version of libSDL that Stella is currently using, I can try to look.

MrCliffM commented 5 years ago

Hey! Thanks so much for updating this app :)

I am also using a PS3 controller and wanted to report that it works if you select the analogue stick as the joystick type - but not if you select the game pad buttons.

johnw999red commented 5 years ago

Excellent Emulator, thanks for the updated version with sound working.

I'm trying to use 2 x original Atari joystiocks with Mayflash MegaDrive USB adapter The combination works OK with MAME etc

But Atari800MacX crashes while loading - MAC problem report attached. ErrorReport.txt

atarimacosx commented 4 years ago

Hopefully some of these issues are fixed in Version 5.0.2.

@johnw999red, I believe your issue was like a Microsoft gamepad that I had but had not tested on the new version. It's name contained unicode characters which caused the Emulator to crash.

I'm hoping the new SDL Library version may also help the PS3 issues. Please let me know if it does not.

johnw999red commented 4 years ago

Hi Paulo,

Thanks for the emails and for alerting me to the new version, which is very welcome.

Per original post I was trying to find a method of using an original Atari joystick with Atari800MacX I had issues with two solutions that I tried:

The first was with the Mayflash Megadrive adaptor, which when plugged, in caused Atari800MacX 5.0.1 to crash upon opening. https://www.amazon.co.uk/Mayflash-Drive-Genesis-Controller-Adapter/dp/B00QRZ1HVS https://www.amazon.co.uk/Mayflash-Drive-Genesis-Controller-Adapter/dp/B00QRZ1HVS Its sounds like you’ve addressed this issue, but unfortunately, I left the adaptor at my house in Spain, so I can’t test again it until the lockdown is over! I’ve tried to find an alternative supplier but they seem to have been discontinued. So it’ll probably be August at least before I can test the one I have in Spain.

The second device I tried was the USB joystick from RetroLink: https://www.amazon.co.uk/Retro-Bit-PC-746-Atari-Style-Wired-Controller/dp/B00J6DCV90/ref=pd_sbs_107_4/261-1538371-1410868?_encoding=UTF8&pd_rd_i=B00J6DCV90&pd_rd_r=7be185b8-5bab-4fd6-b574-caa60dbb6f5f&pd_rd_w=0oMXK&pd_rd_wg=XUNo2&pf_rd_p=2773aa8e-42c5-4dbe-bda8-5cdf226aa078&pf_rd_r=AWCNDZY7XTHAAWCQ7K50&psc=1&refRID=AWCNDZY7XTHAAWCQ7K50 https://www.amazon.co.uk/Retro-Bit-PC-746-Atari-Style-Wired-Controller/dp/B00J6DCV90/ref=pd_sbs_107_4/261-1538371-1410868?_encoding=UTF8&pd_rd_i=B00J6DCV90&pd_rd_r=7be185b8-5bab-4fd6-b574-caa60dbb6f5f&pd_rd_w=0oMXK&pd_rd_wg=XUNo2&pf_rd_p=2773aa8e-42c5-4dbe-bda8-5cdf226aa078&pf_rd_r=AWCNDZY7XTHAAWCQ7K50&psc=1&refRID=AWCNDZY7XTHAAWCQ7K50

With this device, Atari800MacX 5.0.4 recognises the gamepad input, but only the fire button works. The joystick axis are not recognised. See comparisons screenshots of the Atari800MacX 'Joystick identify' screen vs joystick mapper app ‘Enjoyable’, and with MAME.

Enjoyable sees 5 separate axis, > eg. axis 4 goes low when the joystick moves left. If I use this joystick in MAME, its recognised as JOY1 A3/A4 (screenshot 2)

Atari800MacX reports 2 analogue joysticks, but these don’t correspond with any movements on the controller (Neither do any of the Gamepad buttons). Nor is there any way I can see in the interface to map the relevant axis to the joystick.

The Atari Basic function Stick(0) returns a value of 11 (Left) when this joystick is connected and at rest. Moving the stick doesn’t change this. The same effect happens in games eg. Miner2049er - Bob is uncontrollable and continuously moving left, but the trigger makes him jump OK.

Strike 3: Encouraged by the continued development, I've ordered this connector from Raphnet (expected to arrive next week) https://www.raphnet-tech.com/products/db9joy_usb_v2/index.php https://www.raphnet-tech.com/products/db9joy_usb_v2/index.php I’ll send a report once received. .

I hope this information is useful for you.

brgds John Wright

On 25 May 2020, at 14:28, Paulo Garcia notifications@github.com wrote:

@dharmabumstead https://github.com/dharmabumstead This should be fixed now in version 5.0.4. Could you please let us know so we can close this ticket. Cheers

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/atarimacosx/Atari800MacX/issues/4#issuecomment-633572854, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALTOQ5WV4Z67DRGKLTBHZA3RTJXAHANCNFSM4GOKRQZA.

On 17 May 2020, at 22:31, atarimacosx notifications@github.com wrote:

Hopefully some of these issues are fixed in Version 5.0.2. @johnw999red https://github.com/johnw999red, I believe your issue was like a Microsoft gamepad that I had but had not tested on the new version. It's name contained unicode characters which caused the Emulator to crash.

I'm hoping the new SDL Library version may also help the PS3 issues. Please let me know if it does not.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/atarimacosx/Atari800MacX/issues/4#issuecomment-629863937, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALTOQ5T6QQBO5WXGEPV5AETRSBJUTANCNFSM4GOKRQZA.