Hotkeys Save/Load Game doesn't work.
-
@theink Yes, but check that the syntax is correct with null as opposed to nul. The incorrect syntax would probably make the input enable behave oddly, especially as you have set it higher in the config. By setting the null bind, you effectively disable hotkey functionality. |Setting it to Y is also odd as Y is a button function if you are using abxy mapping. Select and Start or combinations of them and buttons are best in my experience. With the ipac, the best course of action is to modify the configs in retropie to match your buttons rather than keep adjusting the ipac.
-
@rbaker thanks.
Are you sure that the right syntaxis is supposed to be "null"?
I read this instruction inside the retroarch config file.
#Keyboard input, Joypad and Joyaxis will all obey the "nul" bind, which disables the bind completely, rather than relying on a default.
In My case, the select start buttons are mapped as:
P1 select = y
P1 start = h
P2 select = u
P2 start = jWhat is the button function for Y?
Asking as if there is hidden function unknown to me that might solve another bug I'm encountering from time to time.
Pressing the Y button fast two times in Main Menu can through me to command prompt. -
@theink I am absolutely not sure at all. However, I used NULL in computing for years so assumed, maybe wrongly! So in SQL for example, it indicates no value. I have used it and it appears to work but maybe I have not noticed that it doesn't as I haven't tried my "disabled buttons"! I know in windows that it's NUL for no process, probably......if it's in the retroarch.cfg, it could be NUL! Lets ask @meleu
-
The trailing
_btn
in config name means that it refers to a joystick mapping (not the keyboard one)input_enable_hotkey_btn = "y"
With no
_btn
, it refers to keyboard. So...input_enable_hotkey = "nul"
... means that you don't have a hotkey enabled for your keyboard.
-
@meleu Thank you!
This was really helpful!Now I get it.
All my hotkeys are currently mapped as joystick buttons.One step closer to greatness! :)
-
@theink if your problem was solved, please mark this thread as "solved" and select the post that solved your problem as the correct answer. This practice improves the forum quality and other members can solve their similar problems. ;-)
-
@meleu so is it always nul or null? or a combination of both?
-
@rbaker
nul
. But I think RetroArch ignores any invalid option. So,null
has the same effect asnul
(but I'm not sure). -
@meleu
I will postpone the testing for the weekend as I don't have much time in the evenings.But an interesting thing happened to me yesterday, that I want to share.
I have done some fast configuring. I started the Pi and it turned out that my hotkey has stopped functioning.
Retropie detects the right key pressed, but it appeared that the function is nulled. I thought that I f*cked something up and restored my backup.
When I turned it on the hotkey still didn't work. I tested it several times with no result. I gave up and turned off the cabinet from the plug.This morning I turned it back on and everything worked just fine.
I can not explain this to myself. I'm completely baffled. Even as I write this I wonder if I had imagined it.From what I know the raspberry pie's only memory is located on the sd card, so I really have no idea how such a thing could be possible.
-
@theink keep in mind that despite being all RetroArch each core has its own config file. It can be related to your episode.
-
@meleu
I finally have some free time to do testing on the configuration.First question...
I just figured out that I can not have two sets of hotkeys for each player.
For example, if I write the following code the second two lines are canceled by the first two.
input_enable_hotkey = "y"
input_exit_emulator = "h"input_enable_hotkey = "u"
input_exit_emulator = "j"
What I tried to do is to list two sets of hotkeys for each player. It obviously doesn't work this way.
In short Is there a way to map two sets of hotkeys?Thanks in advance.
-
@theink no. in fact, only player 1 has access to hotkeys at all.
-
In short Is there a way to map two sets of hotkeys?
You can map different sets of hotkeys for each controller.
For keyboard the file is the
...all/retroarch.cfg
.For each joystick the files are those
...all/retroarch-joypads/JOYPAD_NAME.cfg
files.And, as @dankcushions said, only player 1 can use hotkeys. But RetroArch recently got a feature to let any player use hotkeys and control RGUI (implemented in this PR). You can use this feature if you update RetroArch from source, and I think it will be available in the next RetroPie release.
-
@meleu Ok, now I get it. Thank you for clearing this. I will stick to one player hotkey controls.
Another question please.While editing the main retroarch.cfg file I made a little test.
I switched the functionality of my SELECT button with another button on my control panel and noticed that after a restart the Select key has still has been mapped to its previous position, although that in the cfg file this key has been nulled.I concluded that the controls for the main menu are not written inside the all/retroarch.cfg.
Is that so? Where can I find them? -
@theink said in Hotkeys Save/Load Game doesn't work.:
While editing the main retroarch.cfg file I made a little test.
I switched the functionality of my SELECT button with another button on my control panelWhat do you mean with "control panel"?
I concluded that the controls for the main menu are not written inside the all/retroarch.cfg.
The control configs for the main menu (what we are used to call RGUI) are on those file I mentioned on my last post. It depends on what you are using to control the player1.
-
@meleu Sorry, by control panel I mean the physical joysticks and buttons installed on the arcade cabinet.
Basically what I did has I reassigned the functionality of the Select button of retroarch to a different keyboard key.
I did that inside the ...all/retroarch.cfg . After that, I restarted the Pi.What I found is that my newly assigned Select button didn't work.
Instead, the previous key I used continued functioning as Select. -
What I found is that my newly assigned Select button didn't work.
Instead, the previous key I used continued functioning as Select.Well, I don't know the details of your IPAC mappings. But the retroarch.cfg doesn't change by itself. :-)
You have to discover what key is bound to what button after your changing and then edit your
all/retroarch.cfg
.(P.S.: Is "bound" the past participle of "bind"? I almost wrote binded. :-) still learning English...)
-
@meleu
HERE is my exact mapping.
The thing is that I had mapped my select button as Y key from the keyboard.
I'm also using the select button as a hotkey.Then because of a bug that I described HERE, I tried to disable the select button entirely while in RGUI (main menu).
I restarted the P so that I can allow the system to load the config file anew.
As a result, it turned out that the select button is still active.
It still opens my Options menu while in RGui. And then on a second press, the bug takes effect.But anyway I suggest we move that discussion to the other post because the Hotkey problem has finally has been resolved.
A lot of text has been written, but basically, my mistake was that I was mapping the hotkeys to a controller instead to a keyboard. -
@theink
Just a tip to better describe you issues:
It would be better if you explicitly say what software you are using. ;-) Because GUI can be confused with RGUI (RetroArch GUI).When you say GUI in your previous post it seems that you refers to the emulationstation, anyway.
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.