RetroArch icon indicating copy to clipboard operation
RetroArch copied to clipboard

RFE: game focus mode can use a switch to also disable retropad keyboard keys

Open i30817 opened this issue 2 years ago • 5 comments

First and foremost consider this:

  • Only RetroArch bugs should be filed here. Not core bugs or game bugs
  • This is not a forum or a help section, this is strictly developer oriented

Description

As in the title. Sometimes in computer cores it's not enough to disable hotkeys, and you also want to disable the default keyboard to retroplay mapping. This being filtering able to be saved per core, and disabled once you press toggle game focus mode key would be ideal to not prevent users from accidentally disabling their only controller, so it should be a optional part of game focus mode.

Expected behavior

There is a extra option next to input->automatic set game focus mode that just says 'disable keyboard retropad keys in game focus mode' (automatic or not).

Actual behavior

People that need those keys for computer cores and don't want double inputs need to disable those keys manually in the cfg and that's not very compatible if your only controller is the keyboard.

Personally, I also think toggle game focus mode key should be enabled by default to a "useless" keyboard key like num lock, insert or scroll lock, so users can't get locked out by messing around with options and enabling automatic game focus mode.

i30817 avatar Dec 11 '23 20:12 i30817

If this feature happens id go so far as to say that boolean default should be on, because people enabling game focus mode mst likely want to use the keyboard for a game where the keyboard already controls the game fully. Exceptions should be few and far between.

Edit: maybe there should also be a sanity check so automatic game focus mode can't be activated without a game focus mode toggle key set, to prevent users locking themselves out of their only controller.

i30817 avatar Dec 12 '23 15:12 i30817

Hi all,

Is "game focus" working normally or is it bugged still?

I press Scroll Lock to disable hotkeys, but it also disables the hotkeys set for the game.

Current version of Retro Arch 1.20.0

Current outcome:

  1. F = Fullscreen in RetroArch
  2. I also set F = Hard Punch in Street Fighter 2.
  3. If I enable "game focus" (via scroll lock) F is completely disabled and no input is registered for anything until I press scroll lock to disable "game focus"

Expected outcome:

  1. Press scroll lock to go into "game focus" mode.
  2. F set to hard punch.
  3. Inside Street Fighter 2, press F and Ryu does Hard Punch.
  4. The game will NOT go into full screen if pressing F.

Any help would be appreciated !

gackt2 avatar Jun 23 '25 18:06 gackt2

@gackt2 game focus mode forwards all keyboard and mouse input directly to the core. This bypasses hotkeys and retropad assignments.

hizzlekizzle avatar Jun 23 '25 21:06 hizzlekizzle

@gackt2 game focus mode forwards all keyboard and mouse input directly to the core. This bypasses hotkeys and retropad assignments.

Thanks for the reply.

I have no idea what you just said. Sorry I'm really new to retro arch. =(

gackt2 avatar Jun 24 '25 03:06 gackt2

Okay, no problem. This issue tracker is for development and dev-related issues. For general tech support, we prefer that you contact us through our forum, subreddit, or discord server.

Those places are more appropriate for this sort of thing, since we can talk in real time (or at least somewhat close to it).

hizzlekizzle avatar Jun 24 '25 04:06 hizzlekizzle

Okay, no problem. This issue tracker is for development and dev-related issues. For general tech support, we prefer that you contact us through our forum, subreddit, or discord server.

Those places are more appropriate for this sort of thing, since we can talk in real time (or at least somewhat close to it).

Got it.

Thank you. I'll check out the aforementioned platforms

gackt2 avatar Jun 24 '25 17:06 gackt2