RetroarchGUI - a WEIRD pression of "ACTION" button it's be catched when EXIT from RGUI...... it's fixable ?
-
@DjDiabolik it sounds like you are experiencing the same issue as described here, that is, whenever a hotkey action is performed, the "regular" action for that button is performed as well:
https://www.reddit.com/r/RetroPie/comments/tlk24f/hotkeys_are_also_normal_buttons_issue/i1yfgeq
I think that's just the way it is. Apparently there is a five-years-old video of it used to not happening, however it has been that way at least since I started using RetroPie a year or so ago.
-
OMG........ it's really really similar issue!!
In this past days i have "tested" this things in a LOT of games and i have found it's a very general issue which affects many cores and many games in particular.
For example... how to reproduce the issue on current Retropie version whit all system correctly upgraded.
1)
Game : Flappy Special (Japan) Core : lr-gamebatte and lr-mgba
Already cited here........ Simply start a game and start level 1-1.
Press "Select" for self-suicide...... you obtain a screen whit "TRY AGAIN" and "SELECT STAGE".
Open the RGUI by Hotkey (usually START + Nord button) and press on "Resume"You clearly see RGUI closed immediatelly but you can obtain the "TRY AGAIN" it's be pressed anyway.
It's not normal....... a obviously unwanted button it's be catched from emulator.You have cited the cases:
Game: Super Mario World (Europe) (Rev 1).zip Core: lr-snes9x
Simply start a new games........ select right level......... reach to pick Yoshi... mount it.
Open RGUI.......... select "Resume" and Yoshi he will stretch his tongue.Or another test it's:
Simply start the games.......... open RGUI and select "Resume" you see Mario made a little jump (normally if you jump and made a huge press you obtain a most high jump)At same time i have test various GB games.......... apparently all games GB it's be touched by this issue. it's very strange.
The other TEST i have do.......... on my PC whit current Retroarch Standalone.
I have made same TEST whit the same files i have on my retropie setup........On PC it's completely different words but apparently this issue it's not present......... here you need to press "F1" to open RGUI. And when you press on "Resume" whit action button (default it's ENTER) you don't obtain the same button it's also detected by the game itself (or detected by emulation).
Another test for purpose scope:
On Retropie on my Pi4 i have test another a lot of SNES games for see if this trouble it's be present in all games like it's append on GB system.Games : Prince of Persia
Set all button to made a "Forward Jump" and Start a new games. At this point every button on your current gamepad.... you press and a Forward Jump it's be maded.
Open RGUI and press on "Resume" and whit this games nothings append.......This games it's apparently not affected by this issue...........
I don't think this thing will be thorough anyway........ but apparently there's somethigs on actual retropie setup made this append and i don't thinks it's created by retroarch or by the single core you used.
EDIT
given the news I changed the title of the thread..... it's be a general issue and not only related to lr-gamebatte :) -
@DjDiabolik said in RetroarchGUI - a WEIRD pression of "ACTION" button it's be catched when EXIT from RGUI...... it's fixable ?:
I don't think this thing will be thorough anyway........ but apparently there's somethigs on actual retropie setup made this append and i don't thinks it's created by retroarch or by the single core you used.
Why do you think it's RetroPie specific ? We used to have a Hotkey related patch in RetroPie which allowed the Hotkey (usually Select) to work also in-game, but that's no longer the case, it's been integrated in RetroArch for quite some time.
One request, can you please stop using the ellipsis (
....
) mid-sentence, it makes it difficult to follow the text and it's annoying.EDIT: Looking at the description of your issue, it seems related to the RGUI's menu actions, not to a Hotkey combination specifically. Haven't encountered this issue so far, but I can test with SNES/GB.
In the Github issue you're reporting that it happens only with certain cores - is that true or does it happen with all Libretro cores ? -
OK, I tested with the
mGBA
core and it's definitely something there. It's not 100% reliable, but triggering a RGUI menu entry (which also happens to close the menu) is duplicating the input and sends it 'down' to the core. The easiest is way to replicate this is with the Resume action, once the RGUI is opened.It doesn't seem to happen when there is no Enable Hotkey button - i.e. the menu is bound to some button, you open the menu and then Resume with the A button.
@DjDiabolik what kind of gamepad do you have ?
-
@mitu sorry for ellipsis but i'm using it instead using "," and "." sometime :) I will try to change my behavior if it made disturbs.
however they return to the subject. I thinks it's a retropie specific because i have also tested the same games on retroarch standalone run on windows and i can't replicate this same issue.
I then found out that this only happens exclusively on my pi4 and as you could see it is no longer about the HOTKEY but it happens even though when you close RGUI using the "Resume" option.About my gamepad.
I have a xbox 360 wired controller buyed about 6 month ago from Gamestop this, exactly that:
https://www.gamestop.it/Xbox360/Games/97787
mine is transparent too.. lolanother test I did on my pi4 i have tryed to repricate the issue using only the keyboard (after i have disconnect this gamepad from my pi4) and the issue still remain.
another test i did it's using the same gamepad on my windows pc using retroarch. issue not replicable.I had also tried to change the core for the GB games. Usually i use lr-gamebatte and i changed to lr-mgba. Apparently this issue affected different games, i have tryed a lot and and it more or less always seems to happen.
On SNES system using lr-snes9x some games seem not to be affected and other yes but it would take a large-scale test :)I would suggest focusing on a single title (like "Flappy Special for GB or Super Mario Words reported by @sleve_mcdichael ) and maybe once the problem is solved there it disappears in a generic way.
OT.
Every my reply here it's contain a HUGE usage of google translator. I can read english little good but many concepts in english then i have difficulty in writing.
I know, because it's happen in other forum i partecipate, google translator can made very disaster, create cases of misunderstandings or similar so sorry if this happens upper here. it is not my intention. -
I then found out that this only happens exclusively on my pi4
My guess is it's input driver specific - i.e. on Linux it's the
udev
input driver.... and as you could see it is no longer about the HOTKEY but it happens even though when you close RGUI using the "Resume" option.
If you don't have a Hotkey Enable button set, but you use a dedicated button to open the menu, this doesn't happen. Even if you're not using the Hotkey actions directly. Test by disabling the hotkey enable button and binding the menu to the XBox button.
another test i did it's using the same gamepad on my windows pc using retroarch. issue not replicable.
Yes, on Windows it's a different input driver (default is
dinput
, but you can usexinput
orsdl
).I think it's a RetroArch input issue, not core related.
-
@mitu
need to explain my timeline :)On first attempt i have found this issue using lr-gamebatte and the games "Flappy Bird Special".
I noticed this little trouble while i was tapping to made a "savestate". Infact if you open RGUI and made a savestate whit this game you can see that the savestate is created not in the exact spot where you opened the RGUI himself but a little moment later (like immediatelly after the "action" button it's be sended 'down' to core/emulation).I don't know if I have explained myself correctly.. whit my little bad english it's not easy. would be the TOP if i can follow this same thread using my italian :)
Anyway after i noticed this trouble whit "savestate" i have start to found some info on internet by google. Tryed key search like "retropie double pressing after savestate" "retroarch double pressing" etc etc and at the same time I opened the issue on gamebatte github and after here.
after this I got the idea of trying to replicate it on windows. At this point i have upgraded my retroarch windows setup to current nightly (1.10.2) and i have update also all my core.
Start the same game on windows retroarch and i noticed this issue it is not reproducible on windows ambient. Also at same time on retropie i have tryed to change the core using for GB, i have set to use lr-mGBA and so that's where I discovered that it's not really a single core issue.After that here @sleve_mcdichael have report his similar situation whit a snes games. and here I believe that the history is over :)
Return to issue:
Actually the XBOX button it's mapped in the "Hotkey Enable". When i select a game from emulationstation this button it's auto-configurated.
From RGUI how i can delete or disable this setting ? I need to modify the file cfg manually ? Or i can deselect this option also from RGUI himselft ?
in fact if I press F1 from keyboard i can see the RGUI it's be opened whitout using the hotkey combination... how it's this setting ?now I want to try one thing. I will try to set the hotkey on windows retroarch. I'm curious to see if the problem appears there too.
Anyway if it's a retroarch issue/trouble we can report this issue somewhere for try to made a patch or similar ?
Ever sorry for my bad english......
**** EDIT ****
Now. On windows if i click "DEL" on keyboard i can deselect the "Enable Hotkey" button.
On retropie if i click "DEL" on my keyboard attach to my Pi4 nothing append and i can't deselect this button by RGUI.
Anyway i have also tryed to enable this hotkey combination on windows retroarch and this same issue it's not reproducible on windows.
isn't that fixed with the update to 1.10.2 on windows since the version is more recent there ? -
Now. On windows if i click "DEL" on keyboard i can deselect the "Enable Hotkey" button.
On retropie if i click "DEL" on my keyboard attach to my Pi4 nothing append and i can't deselect this button by RGUI.You'll need to disable the hotkey in the
.cfg
file in\\retropie\configs\all\retroarch-joypads\
, the file is named after the gamepad's name. You'll need to comment (add a;
at the beginning of the line) theinput_enable_hotkey_btn
line and setinput_menu_toggle_btn
to the home/Xbox button (the value should the one forinput_enable_hotkey_btn
).Anyway i have also tryed to enable this hotkey combination on windows retroarch and this same issue it's not reproducible on windows.
isn't that fixed with the update to 1.10.2 on windows since the version is more recent there ?No, it's the same on 1.10.2 - I tested with a current version and it's not fixed, I don't think there are any fixes related to the
udev
input driver for the gamepad.I don't know if I have explained myself correctly.. whit my little bad english it's not easy. would be the TOP if i can follow this same thread using my italian :)
It's ok, I wouldn't worry about it. I'll try to see if I can find something RetroArch, otherwise I'll open an issue for it. You should close the core issue you opened, since it's not a core problem IMHO.
-
@mitu
Now i try, i open this path (strange. if i put \retropie from windows file explorer it's be ask to me a credentials. i put pi/raspberry and it's not accepted. I have put \ip-of-my-pi4 on file explorer and no obtain same request. Misterious of windows).I have opened the path:
\192.168.1.159\configs\all\retroarch-joypadsHere i have copyed the file PDP Xbox 360 Controller.cfg to made a backup and i have modify it.
Before to modify it's that:
https://justpaste.it/8l7e1After modify it:
https://justpaste.it/8tsilNow need to test if it's correct use this workaround :)
But the question it's.... now need to modify this setting for all my retroarch-joypad ? if I took a joypad that doesn't have a button free to set (like this xbox button) how i can use instead using the hotkey combination ?
**** EDIT ****
Anyway strange. I have modified this files and for me it's not works. It's possible because i have a core remap for input setted ? need to check.**** EDIT 2 ****
Now it's really strange.
For made i can open the RGUI by XBOX button i made to modify the file like this:
https://justpaste.it/7duhzBut right now when i touch the button i obtain immediatelly RGUI. Re-press it again and RGUI it's closed.
But now the HOTKEY + START for exiting from games it's not works anymore.
There's strange issue append on hotkey feature.**** EDIT 3 ****
Great news !
I have found a possibly alternative. I have set HOME + SELECT for open the RGUI.
Now when i press HOME + SELECT i see RGUI open immediatelly but i obtain a retroarch help windows on screen of my TV. At this point i need to close this help whit A button of my gamepad (down button in retropie).
so the problem appears only if I set one of the action buttons ?**** EDIT 4 ****
And after this time passed over my Pi4 i thinks i have found a bug in emulationstation about sort of games.
Open a new thread to request and verify if yes........
About this problably found the answer in this old thread:
https://retropie.org.uk/forum/topic/29748/changing-default-sort-order-for-games-lists -
hey hello "friend" @mitu
hope you read this message. I wanted to tell you that if you open the issue regarding this thing like in retroarch forum, github or other similar site follow that link here.
If i can i try to register also on this other site and try to discuss and try to report all need feedback if needed.
Thanks in advance :)
At the moment after i have set the HOTKEY combination HOME + SELECT for open RGUI seems to be a good one workaroud for this little issue.
I think until I found a GB game where i need the SELECT button to perform an in-game action, everything should be ok :) -
@mitu
Obtain retroarch 1.10.3 as been released :)I hope this issue as been fixed whit our retropie setup :)
Wait this version comes also on retropie setup script :) But i need to reconfigure my hotkey to open RGUI to the default combination :)
-
Obtain retroarch 1.10.3 as been released :)
I hope this issue as been fixed whit our retropie setup :)It's not, since it's not a RetroPie-Setup problem. I've tested a recent snapshot on a Linux desktop environment and the problem still exists. Due to my limited time, I haven't narrowed this problem in order to open an issue or understand where's the error. When I'll do it, I'll update this topic.
-
@mitu i understand it's not a retropie-setup issue but I understood it's a retroarch little issue.
it is incredible that this also happens on a desktop pc whit linux at this point :) -
@mitu as general feedback.....
On my "new" VM40B retropie setup (Ubuntu 22.04-1) now also obtain this issue......... workaround also here to modify the controller cfg to obtain RGUI open whit HOTKEY+SELECT button instead using HOTKEY + Nord Button :)
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.