lr-fuse mapping USB gamepad
-
Why in the lr-fuse emulator the mapping of buttons to the USB gamepad is done directly in the emulator settings "retroarch menu - options", but in other "lr" emulators the key mapping for the USB gamepad is set in the "retroarch menu - controls". For lr-fuse, the mapping is "global" and cannot be saved separately for each game. For other lr-emulators the mapping settings for each game are saved separately and automatically loaded when it game started which does not work for lr-fuse ... Why is it different for lr-fuse?
-
@mgrunt Hi.
Let me try to answer that in parts, and I would want to learn more as I was the one implementing the keyboard mapping support on lr-fuse, and the topic does interest me.
Maybe starting with the easier ones:
a) "For lr-fuse, the mapping is "global" and cannot be saved separately for each game." - This is incorrect. You can - and should - create per-game core option files. I believe it is (still?) done at the top of the RetroArch "Options" menu. Doing so will save the mapping for that specific game, and not make it global.
b) "For other lr-emulators the mapping settings for each game are saved separately and automatically loaded when it game started which does not work for lr-fuse" Following the previous answer, this is incorrect. If you save a per-game core options file, it will load when you load that game, and not change the global options at all.Now, this was done several years ago, when the emulator only had support for "joystick" controls (Kempston, Sinclair, Cursor) using a gamepad. I, myself, am not 100% thrilled with the implementation but given the constraints back in the day it does do the trick and I do believe it does the trick. I don't quite recall right now, but I think it might have challenges with 2 player games.
Now, at the time the RetroArch folks did suggest they would be looking into a better "keyboard to gamepad" mapping solution across RetroArch, but I never really noticed it coming. Maybe that's what you're referring to? I will admit that I mostly play console games, so I might not have noticed it or felt the need to look for another way to map the keyboard.
Could you share for what emulators do you set the key mapping for the USB gamepad in the "retroarch menu - controls", and send over a screenshot for me to understand what you're referring to? I'd love to know more. I can assure you that it is not something I would be focusing on in the short to medium term, but it would help me understand what it would bring, and assess if it really would be a much better option and what the effort of implementing it would be.
Also, please try out the guidance I shared above and let me know if that addresses your needs as well.
Thanks!
-
@pjft Sorry for the late reply. I'm glad the developer answers me. I have a USB Gamepad connected to the RPi (cross, start, select, 4 ABXY buttons and nothing more). In Retropie I mainly use console emulators and they usually do not need any control settings. I also use lr-doxbox-pure and there set the gamepad mapping in the "Controls - Port 1 Controls" menu. So I thought the mapping was set up in lr-fuse in the same place. But I found that it is done elsewhere and in the Options menu. This confused me.
lr-dosbox-pure
https://ibb.co/gVYdHL9lr-fuse
https://ibb.co/zHCbT46Everything already works as it should, including saving settings for each game separately. Thank you.
PS: Is it possible to simulate a slow recording in a lr-fuse like from a cassette recorder when the game was loaded for minutes?
-
@mgrunt I don't know, apologies. Glad it's sorted.
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.