Mpk wrote: ↑Wed Dec 01, 2021 10:12 am
The d-pad works as Kempston, I just would Iike to be able to map it to send q,a,o,p instead. Playstation will be the same.
Here is a test version of my emulator with the possibility to choose from Kempston, QAOP, WASD and 5678 d-pad.
Luzie wrote: ↑Sat Dec 04, 2021 2:50 pm
Is there a way to select a joystick if multiple USB-Joysticks are connected to the PC?
Currently I assume that there is only one joystick present, but I can identify all connected controllers, so it should be fairly easy to allow a choice of which joystick to use. Ideally both should work at the same time.
And thanks for the link to the test program, that will be useful!
Luzie wrote: ↑Sat Dec 04, 2021 2:50 pm
Is there a way to select a joystick if multiple USB-Joysticks are connected to the PC?
Currently I assume that there is only one joystick present, but I can identify all connected controllers, so it should be fairly easy to allow a choice of which joystick to use. Ideally both should work at the same time.
Edit: There may be a problem with the dual joystick adapter - I'm not sure how Windows handles that.
And thanks for the link to the test program, that will be useful!
Luzie wrote: ↑Wed Dec 01, 2021 8:11 pm
Alternative is to save the running state into ZEsarUX own .ZSF-Snashot-Format. This save all these settings in the snapshot and restore it on reload into the emulator.
I must correct myself here. ZesarUX .ZSF-Snapshot-Format DON´T save/restore Joystick-Settings.
Here is a test version of SoftSpectrum 48 which handles dual joysticks (tested with a PS3 and a PS4 controller). [mention]Luzie[/mention], can you give this a try with your joystick adapter? This is just a quick test so only one of the joysticks is configurable - the other is hard coded to Kempston.
Magnus wrote: ↑Sun Dec 05, 2021 2:41 pm
Here is a test version of SoftSpectrum 48 which handles dual joysticks (tested with a PS3 and a PS4 controller). @Luzie, can you give this a try with your joystick adapter? This is just a quick test so only one of the joysticks is configurable - the other is hard coded to Kempston.
[mention]Magnus[/mention] Thanks for the test-version. Sadly only the fire-Keys work, no direction-controls: Only Kempston-Button on Port 1 and Only SPACE as Button on Port 2. Maybe dxdiag.exe can give you some hints/information about my hardware:
Or this may help: ZEsarUX shows this under: F5 Menu / Settings / Hardware / Real Joystick Support / Joystick information when I press Joystick to "Direction Left" (Joystick on Port 1):
Luzie wrote: ↑Sun Dec 05, 2021 3:32 pm
Sadly only the fire-Keys work, no direction-controls: Only Kempston-Button on Port 1 and Only SPACE as Button on Port 2.
Strange that the buttons work but not the directional controls. Maybe ATARI style joysticks are detected in some other way than USB controller d-pads? I'll see if I can find some information about this, but for now I don't have any ideas .
Luzie wrote: ↑Sun Dec 05, 2021 3:32 pm
Or this may help: ZEsarUX shows this under: F5 Menu / Settings / Hardware / Real Joystick Support / Joystick information when I press Joystick to "Direction Left" (Joystick on Port 1):
Interesting. The values I check for are 0 for UP and then adding 4500 for every 45 degrees, so LEFT is 27000. I'll have to do some more research.