dosbox-pure
dosbox-pure copied to clipboard
Don't remap keyboard controls while also mapping joystick controls
Hello,
I have an issue with Dosbox Pure that I'm not sure how to solve. Whenever I only want to remap the joystick, for some reason, it will also remap the arrow keys, and also try to remap the X,Z, S, and A keys, for example. This is really bad in DOS games where you still want to use the keyboard to type in your name, or the name of your save file, and when you press an "S", it will either confirm or cancel your save depending on what "s"/Button 3 is mapped to. Really annoying. In other words, this causes mapping conflicts.
I already know that the software keyboard exists by pressing the left stick (L3), but I really don't want to 100% rely on this, I only want this to be an option. I still want to seamlessly use the regular keyboard completely normally, without anything remapped, and ONLY have the joystick controls re-mapped.
Is there a way to do this? Please let me know.
Use 'Game Focus' in RetroArch by pressing scroll-lock to use the entire (physical) keyboard without having it press hotkeys ore mapped retropad inputs.
Okay, that works for the saving in Tryian 2000, which is what I was testing this with.
I've also still been having issues trying to play games with my Wacom tablet plugged in, since it seems to like to give me "ghost inputs" or "rogue inputs" randomly that case, especially since it doesn't auto-configure properly. Somehow, turning auto-configure off, then plugging it in, and then maybe disabling port 2 can help (I have max players set to 2, so I have ports above 2 disabled), but I don't know what else to do in that case. And somehow, it generated a basic auto-config file for me when I turned it back on again... strange.
Anyway, turns out game focus can make the tablet give me more rogue/ghost inputs that I don't expect. It randomly pops up menus like the Desktop menu, or the Core System Files Downloader, and other things that I don't expect, but... I'll try to reach out the the Retroarch team. Without the tablet as an extra input device detected, as in just keyboard, mouse, joystick (but not keyboard, mouse, joystick, tablet), everything works as expected. No rogue/ghost inputs, nothing strange at all. The mouse ONLY acts in relative mode though, not absolute, which is a problem for the tablet, but whatever... Strange thing is tablet works fine out of game focus mode, but not when inside of it. really annoying. It gets complicated having to manage more than 3 input devices, and then on top of that, not knowing what all of them could potentially be mapped to.
I have the Flatpak version autoconfig file for my tablet in /.var/app/org.libretro.RetroArch/config/retroarch/autoconfig.
And this barebones autoconfig file Wacom Intuos Pro M Pen.cfg seemed to solve my issue with Game Focus turned off, at least. It also detects the "Pad" not just the "Pen", but I don't know if that could be causing problems as well...
input_driver = "sdl2"
input_device = "Wacom Intuos Pro M Pen"
input_vendor_id = "1386"
input_product_id = "855"
I also didn't realize, until now, that pressing start + select (my Quick Menu hotkey) actually turns off game focus, which I do not really want. I was hoping there would be a way to keep it re-enabled while I exit the Quick Menu instead of keeping it disabled. Is there a way to do that, or not?
I suppose this can be possibly closed now since this is more of a RetroArch issue for me than DOSBox Pure, so I will troubleshoot these types of thing to their community instread. Thanks for your help though! I keep forgetting Game Focus mode even exists.