Bit confused with the hotkey combination
-
And finally am I right in thinking that if by any chance a game needs for example f2 to be pressed you can still press f2 and it will be OK as you actually need to hold down f2 to enable save state?
-
For that, you can press Scroll Lock on the keyboard and RetroArch will enter 'Game focus mode', which disables any hotkeys and sends all input directly to the game being run. Press again to toggle back the hotkeys.
The Pi 400 keyboard doesn't have the aforementioned key present, but you can re-configure it in the configuration file by settinginput_game_focus_toggle
to another key. -
@mitu said in Bit confused with the hotkey combination:
For that, you can press Scroll Lock on the keyboard and RetroArch will enter 'Game focus mode', which disables any hotkeys and sends all input directly to the game being run. Press again to toggle back the hotkeys.
The Pi 400 keyboard doesn't have the aforementioned key present, but you can re-configure it in the configuration file by settinginput_game_focus_toggle
to another key.Thanks again how do I get to the configuration file to re configure it?
I am guessing it's important that I do this as if for example he plays a game where he has to enter his name.. If he hits a hotkey while doing this then that would be a problem.
Sorry to be a pain about this.. Is there a step by step guide in how to reconfigure in game focus toggle to another key?
-
@chris3535 said in Bit confused with the hotkey combination:
The joystick I have got him has 4 buttons..
...
If I mapped one of the spare buttons as the hotkey. And one of the other spare buttons as the start key.. Would this mean if he pressed them both that it would exit out of the game?Yes. A typical combination is that the two buttons Select and Start together exit the game. You could configure two of your buttons as Select and Start and choose Select as the Hotkey Enable button aka "the Hotkey button". Then you can quit with that default Select+Start hotkey combination.
There are plenty of older games that use 2 or 3 buttons (jump+throw, fire+shields, fire+thrust+hyperspace, ...) I'd expect that mapping your joystick to the Start, A, B and Y buttons could be sensible. Either rely on the keyboard hotkey controls to quit, or if you're feeling brave then select one of those to be the Hotkey Enable when you configure the controller, and edit the config file to configure which button you want to be the exit (hot)key.
-
@busywait Thanks for your reply but i am getting myself more and more confused !
So he has 4 buttons, i know what your saying about some games have more than one button but for the majority if not all he will only need one button.
So lets assume we keep on button spare (just in case lol)
So what your saying is i map one button as Select and one button as start. Then i also choose select as the hotkey button. This means when he presses these 2 buttons it will exit out and he can select another game? is this right?
Also i need to know how to edit the config file as i need to change the Input_game_focus_toggle to another key as the retro pi keyborad does not have scroll lock. How do i do this?
Again im really sorry for being a pest with all these questions i am just trying to make tomorrow as easy as possible
-
@chris3535 said in Bit confused with the hotkey combination:
@busywait
So what your saying is i map one button as Select and one button as start. Then i also choose select as the hotkey button. This means when he presses these 2 buttons it will exit out and he can select another game? is this right?Yes.
@chris3535 said in Bit confused with the hotkey combination:
Also i need to know how to edit the config file as i need to change the Input_game_focus_toggle to another key as the retro pi keyborad does not have scroll lock. How do i do this?
Quit Emulation Station (Start button, choose quit, choose quit)
You should see a command line.Type
nano /opt/retropie/configs/all/retroarch.cfg
Change the text that you need to change, and press Ctrl+O
Press Enter to accept the file name
Press Ctrl+X to edit the editorType
emulationstation
(Hint, type emu and press the Tab key).
Press Enter -
@busywait You are a star, thank you so so much for this !!!
-
@chris3535 said in Bit confused with the hotkey combination:
I am guessing it's important that I do this as if for example he plays a game where he has to enter his name.. If he hits a hotkey while doing this then that would be a problem.
If you are playing old games in RetroArch where you enter your name you will be using the joystick, not a keyboard I think, so no need to worry about accidentally hitting a hotkey.
-
@chris3535 said in Bit confused with the hotkey combination:
the retro pi keyborad does not have scroll lock
Why do you think that the Pi400/Pi Keyboard does not have a scroll lock?
Is there anything similar written in red near the top right of the keyboard?
-
@busywait said in Bit confused with the hotkey combination:
Why do you think that the Pi400/Pi Keyboard does not have a scroll lock?
See the product brief, I don't see such key in the available layouts.
-
-
This post is deleted! -
This post is deleted! -
@busywait said in Bit confused with the hotkey combination:
@mitu Interesting, because it has a Scroll Lock LED according to this: [https://www.raspberrypi-spy.co.uk/2020/11/raspberry-pi-400-launched/](link URL)
I use a K400+ with my Pi4B, and it took a bit of searching to find out that the key combo for Scroll Lock is fn+caps lock. (The keyboard doesn't have any indication printed on it).
@mitu said in Bit confused with the hotkey combination:
For that, you can press Scroll Lock on the keyboard and RetroArch will enter 'Game focus mode', which disables any hotkeys and sends all input directly to the game being run. Press again to toggle back the hotkeys.
Thanks for this - it stopped me starting a new thread because I was struggling to work it out! I think that would be helpful in the docs - I can't see game focus mode mentioned at the moment in input-and-controls
-
@busywait so if i press fn and caps lock this might work? this would save me a little job if it did !
-
@chris3535 said in Bit confused with the hotkey combination:
if i press fn and caps lock this might work? this would save me a little job if it did !
I expect that someone in the Raspberry Pi forum would be able to tell you the correct combination if it isn't.
-
@busywait Good thinking, i have aksed and will put answer here when i get one, just in case it helps anyone else out in future
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.