lr-hatari: 2nd joystick not working
-
Hello all,
I'm having an issue with lr-hatari emulator which doesn't recognize my 2nd joystick while the 1st one is working well (USB controler for 2 joysticks)
The 2nd joystick is seen by all other lr emulators (lr-picodrive, lr-fceumm, lr-pcsx-rearmed, lr-mame2010...) but also on Hatari itself (not lr-hatari, but Hatari)
I've built a bartop so I would like to exit the emulator with the joystick instead of having a keyboard plugged to the bartop (hatari doesn't allow exiting with the joystick)
The retropie setup page about Atari emulation (https://github.com/RetroPie/RetroPie-Setup/wiki/Atari-ST-STE-TT-Falcon) states that if there is an issue with the joystick configuration, we should start Hatari, ensure the with joysticks is fine (and it is), save the configuration (I did it) and then restart lr-hatari (but I'm still having the 2nd joystick not recognized)
Issue is happening with different rom files.So... I've started lr-hatari with verbose logging and saw that it was also trying to find some configuration in those 2 files:
- /home/pi/.config/retroarch/config/Hatari/Hatari.cfg
- /home/pi/RetroPie/BIOS/hatari.cfg
So I did a copy of my hatari configuration file (/opt/retropie/configs/atarist/hatari.cfg) at both places (as there weren't any file at those places)... But still the same issue: 2nd joystick not detected.
The strange thing is that, in the logs (and also displayed on the screen), the emulator states that it detects the joysticks:
Plugged pad: THT THT Arcade console 2P USB Player on port #0
Plugged pad: THT THT Arcade console 2P USB Player on port #1
I also see that in the lr-hatari menu, the 2nd joystick is detected (when I go to "user 2 binds" menu, and if I bind something, it recognize when I push a button or move the joystick 2)Also, when I naviguate to "Quick menu > Controls", I have:
User 1 Device type : Retropad
User 2 Device type : RetropadFor user 1:
Auto: -1 (N/A), (Key: up) [User 1] => Up
Auto: +1 (N/A), (Key: down) [User 1] => Down
Auto: -0 (N/A), (Key: left) [User 1] => Left
Auto: +0 (N/A), (Key: right) [User 1] => RightFor user 2:
Auto: -1 (N/A) [User 2] => Up
Auto: +1 (N/A) [User 2] => Down
Auto: -0 (N/A) [User 2] => Left
Auto: +0 (N/A) [User 2] => RightMain menu > Settings > Inputs > User 1 Binds
User 1 Device type : Retropad
User 1 Device Index: THT THT Arcade console 2P USB Player (#1)
...
User 1 Up: Auto: -1 (N/A), (Key: up)
User 1 Down: Auto: +1 (N/A), (Key: down)
User 1 Left: Auto: -0 (N/A), (Key: left)
User 1 Right: Auto: +0 (N/A), (Key: right)Main menu > Settings > Inputs > User 2 Binds
User 2 Device type : Retropad
User 2 Device Index: THT THT Arcade console 2P USB Player (#2)
...
User 2 N/A => Auto: -1 (N/A)
User 2 N/A => Auto: +1 (N/A)
User 2 N/A => Auto: -0 (N/A)
User 2 N/A => Auto: +0 (N/A)I can redefine bindings for user 2 through the interface, but it doesn't work better. Interface is displaying something like that after the rebindings:
User 2 N/A => -1 (N/A)
User 2 N/A => +1 (N/A)
User 2 N/A => -0 (N/A)
User 2 N/A => +0 (N/A)My system:
Raspberrypi: rpi2 / Raspian 9.9 (stretch)
Retropie version: 4.6
lr-hatari version: 1.7.6 - Hatari 1.8 f8c3595
Hatari version: 1.9.0
USB device for Joystick: THT Arcade console 2P USB Player ("Van Ooijen Technische Informatica Free shared USB VID/PID pair for CDC devices" when doing a lsusb)Any idea is welcome :)
If ever you have a solution to exit the Hatari emulator (the non-libretro one) using a combination of 2 buttons instead of the keyboard, that's also fine for me.
Regards,
Ed
-
Hello all,
No idea anyone ? :'(
I forgot to mention that : Retropie was installed from an official pre-made image for raspberry pi: retropie-4.5.1-rpi2_rpi3.img... and that I've done an upgrade to 4.6 through the retropie_setup script.
Since my 1st post, I've also installed Hatari 1.8.0 after having "hacked" the retropie_setup script in order to deploy the 1.8.0 (through source, pointing to the dowload repository of the official hatari distribution) instead of using the 1.9.0. I made this in order to have similar version as lr-hatari. So... I've restarted Hatari, re-saved my conf (hoping that it will be compatible with lr-hatari) and restarted lr-hatari. But 2nd controller is still not recognized...
Any help is welcome.
Regards,
Ed
-
Have you found a solution?
I have the same problem.No translations are displayed for the key binding for joystick 2. All translations are shown as "N/A".
In contrast to joystick 1, no button (up, down, left, eight, a, b, etc.) is displayed. Can you specify that somewhere?
-
Hello @Turrican2k ,
No, sorry, still not fixed. Note that I haven't tried anything else in the meantime...
(Hoping someone would have an idea for me...)Regards,
Ed
-
Try updating the
lr-hatari
emulator from source, I think 2 player support hasn't been added until recently.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.