Keyboard not working in lr-dosbox-pure after latest 1.9.4 RA update
-
Recently updated to the newest Retroarch 1.9.4 release, now my BT keyboard isn't fully working in lr-dosbox-pure. I can press j, g, c and all numbers but nothing else seems to work.
Several games tested, same issue in all. Works fine in DosBox-Staging.
Keyboard region is US
Running 4.7.11 Retropie
Did not have this issue with previous version of Retroarch.Thanks.
-
I can't reproduce this, input works fine if I boot to command line and start typing
Do you enabled Game focus in RetroArch ? Otherwise the keyboard's input is not directly passed to the core and RetroArch's key bindings will 'swallow' the inputs.
-
@mitu I'll have to check if that's active. Everything is defaulted, but there are a lot of differences between 1.8.8 and 1.9.4. What menu option is that listed under?
-
@jamrom2 said in Keyboard not working in lr-dosbox-pure after latest 1.9.4 RA update:
What menu option is that listed under?
What are you referring to ? I haven't mentioned any option.
-
@mitu game focus. What is that? Is that something that is turned on and off? I've never heard of it.
-
@mitu I did a little research on Game Focus. It sounds like the problem, however, my retroarch.cfg has this for Game Focus setting
input_auto_game_focus = "0"
BTW... it's every emulator that uses a keyboard, not just lr-DOSBox-pure. I only noticed it there first.
** Yup, it was what you said... the Game Focus was selected off. I had to grab a USB keyboard because my BT unit does not have a 'scroll lock' key. Pressing it got things working... but now I have to ask this question.
If I turn on the Game Focus, I loose my gamepad settings... some of these games in DosBox are finicky and only see keyboard mappings instead of the joystick or game pad. I think it was better in previous versions of RA that did not see the use of the Game Focus enabled. I don't see a way to balance this like it was previously, unless I try and fall back to the 1.8.8 RA version.
-
I'm not really sure how it worked before, without game focus.
Without game focus on, if a key is used by RetroArch for a certain function, it would not have worked anyway. You can save a core override so it's enabled automatically and you don't have to turn it explicitly, though in this case it's going to be difficult to exit - since Esc will be disabled as a hotkey unless you turn game focus off. -
Before this version, it just carried over the mappings from ES as default, so every libretro game easily exited using select and start..as you know I'm sure.
With Game Focus now on, you loose the hotkey function like you said and thus loose the ability to quick exit the emulator. The best main advantage of RetroArch... quick open and closing of emulators.
Whatever the benefits are of using the Game Focus is now out weighed by the loss of quick exiting and any other hot key maps the game pad used when Game Focus is enabled. Maybe suggest to the team that however it worked in 1.8.8 seemed better. The keyboard and game pad worked fine side-by-side, mappings and all.
Thanks as always for your help!
JamR
-
@jamrom2 said in Keyboard not working in lr-dosbox-pure after latest 1.9.4 RA update:
Before this version, it just carried over the mappings from ES as default, so every libretro game easily exited using select and start..as you know I'm sure.
This still works, so I'm unsure what exactly is not working right now - did you have a keyboard mapped to the RetroPad and it's not working in the new version ? Are you also using a controller with RetroArch and it's not working anymore ?
With Game Focus now on, you loose the hotkey function like you said and thus loose the ability to quick exit the emulator. The best main advantage of RetroArch... quick open and closing of emulators.
That worked the same the with 1.8.8 or older versions, ever since the Game Focus feature was added to RetroArch. Turning Game Focus on sends all input to the core, without any RetroArch hotkeys being processed.
-
@mitu Everything that is mapped to my controller works if Game Focus is turned off. Problem is now with 1.9.4. the keyboard doesn't work until Game Focus is turned on. Once Game Focus is on, I loose all the mappings, I can't even open the Retroarch menu. What was the need for the change. Before this version, I never saw this happen.
It doesn't effect any games that do not use a keyboard until you get to Amiga, A800, AtariST and DOSbox-pure.
I don't know a way around this without plugging in a true USB keyboard that has a scroll-lock key. My BT unit doesn't have one. I opened the retroarch.cfg and tried to remap the Game Focus key to another key, but it keeps automatically reverting back to scroll-lock as the entry.
I've deleted Retroarch and reloaded it by source thinking maybe some file is still hanging around from a previous build, but it didn't change anything.
I'm not sure what else to do with this other than buy a new, portable BT keyboard that has a scroll-lock key on it.
Update....nevermind... I found this on reddit and see there is a way to reassign the on/off toggle. I set mine to page-up key. All good.
https://www.reddit.com/r/RetroArch/comments/kv06im/psa_just_a_reminder_that_toggling_game_focus/
Works fine. Now I can toggle it on and off and use both the hotkeys and keyboard as needed. Works great.
Thanks again.
JamR
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.