Page 1 of 2

Pocket FE - Add a Mode Button

Posted: Thu Apr 04, 2019 1:44 pm
by AntFJ
@bluup can I've tried to change keys.cfg to change the hotkey to GPIO 23 as it seems to be unused (GPIO 9 looks unused as well) . The entire overlay disappears on reboot and emulation station is frozen (SSH into pie still works fine).

I would like to add a mode key at the bottom where the power jack originally went similar to the circuit sword. Any thoughts?

Re: Add a Mode Button

Posted: Fri Apr 05, 2019 2:01 am
by Bluup
Thanks for reporting this! I've had another user mention it too, it looks like the Hotkey isn't being initialised properly when it's not an already in use key. There is code to make that happen but it must be causing errors elsewhere. I'm currently working on a new release of the image that will boot faster and have an update script for the OneForAll software so I will make sure a fixed version of the OneForAll is also included in this. I'm about 80% done with the image, so shouldn't take too long.

Re: Add a Mode Button

Posted: Fri Apr 05, 2019 6:39 am
by Bluup
Just a follow up question - is this for the MintyPi or the Pocket FE? MintyPi uses it's own version specifically for it. If it's the Pocket FE, you can replace the One-For-All software with the new software from here:
https://github.com/withgallantry/OneForAllBinary

Re: Add a Mode Button

Posted: Fri Apr 05, 2019 10:17 am
by AntFJ
Yup this is specifically for the Pocket FE - title fixed.

I'll try the new software and let you know how it goes

Re: Add a Mode Button

Posted: Fri Apr 05, 2019 12:58 pm
by AntFJ
I'll just have to wait until the new image. Didn't back up my old OneForAll folder and now it is frozen in emulation station with no battery/wifi/sound overlay. SSH still works fine.

Question... why is the monitor in your OneForAllBinary github not .py? I can't edit the file.

Thanks for the work!
Ant
Bluup wrote:
Fri Apr 05, 2019 6:39 am
Just a follow up question - is this for the MintyPi or the Pocket FE? MintyPi uses it's own version specifically for it. If it's the Pocket FE, you can replace the One-For-All software with the new software from here:
https://github.com/withgallantry/OneForAllBinary

Re: Pocket FE - Add a Mode Button

Posted: Sun Apr 07, 2019 5:03 am
by Bluup
I compile the OneForAll software into one binary file, it means that others can use the software on other Retropie images without having to install all the required libraries for python. Just makes things easier.

Re: Pocket FE - Add a Mode Button

Posted: Thu Apr 11, 2019 1:22 am
by Bluup
I've updated the software, you can find it here:
https://github.com/Helder1981/OneForAll

It will now allow you to use a hotkey correctly. Just copy the monitor file from the repo and replace the one on the Pi in /home/pi/One-For-All and that should do it.

Re: Pocket FE - Add a Mode Button

Posted: Thu Apr 11, 2019 8:31 am
by AntFJ
I'm out of town for two weeks but I will try that when I get back. You rock - im super impressed by the design/code.

Hard to play a cm3 gameboy and then a gameboy zero - quite the performance cut!
Bluup wrote:
Thu Apr 11, 2019 1:22 am
I've updated the software, you can find it here:
https://github.com/Helder1981/OneForAll

It will now allow you to use a hotkey correctly. Just copy the monitor file from the repo and replace the one on the Pi in /home/pi/One-For-All and that should do it.

Re: Pocket FE - Add a Mode Button

Posted: Wed May 08, 2019 7:25 am
by ekilla
Bluup wrote:
Thu Apr 11, 2019 1:22 am
I've updated the software, you can find it here:
https://github.com/Helder1981/OneForAll

It will now allow you to use a hotkey correctly. Just copy the monitor file from the repo and replace the one on the Pi in /home/pi/One-For-All and that should do it.
I like the idea of having a dedicated mode button.
But meanwhile, is it possible to set a delay on that mode funktion? Like press it fo 2 seconds before the menu pops up? Playing games like Metroid on GBA will be nearly impossible since it heavily uses the select button ingame.

Re: Pocket FE - Add a Mode Button

Posted: Wed May 08, 2019 7:45 am
by Bluup
I wasn't aware of that, my retro gaming street cred is gone there :P. I'll investigate adding a delay.