Pocket FE - Add a Mode Button

User avatar
AntFJ
Posts: 178
Joined: Thu Nov 16, 2017 8:09 pm
Has thanked: 37 times
Been thanked: 115 times

Pocket FE - Add a Mode Button

Post by AntFJ » Thu Apr 04, 2019 1:44 pm

@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?
Last edited by AntFJ on Fri Apr 05, 2019 10:17 am, edited 1 time in total.

Bluup
Posts: 144
Joined: Wed Mar 28, 2018 9:40 am
Has thanked: 9 times
Been thanked: 82 times
Contact:

Re: Add a Mode Button

Post by Bluup » Fri Apr 05, 2019 2:01 am

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.

Bluup
Posts: 144
Joined: Wed Mar 28, 2018 9:40 am
Has thanked: 9 times
Been thanked: 82 times
Contact:

Re: Add a Mode Button

Post by Bluup » 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

User avatar
AntFJ
Posts: 178
Joined: Thu Nov 16, 2017 8:09 pm
Has thanked: 37 times
Been thanked: 115 times

Re: Add a Mode Button

Post by AntFJ » Fri Apr 05, 2019 10:17 am

Yup this is specifically for the Pocket FE - title fixed.

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

User avatar
AntFJ
Posts: 178
Joined: Thu Nov 16, 2017 8:09 pm
Has thanked: 37 times
Been thanked: 115 times

Re: Add a Mode Button

Post by AntFJ » Fri Apr 05, 2019 12:58 pm

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

Bluup
Posts: 144
Joined: Wed Mar 28, 2018 9:40 am
Has thanked: 9 times
Been thanked: 82 times
Contact:

Re: Pocket FE - Add a Mode Button

Post by Bluup » Sun Apr 07, 2019 5:03 am

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.

Bluup
Posts: 144
Joined: Wed Mar 28, 2018 9:40 am
Has thanked: 9 times
Been thanked: 82 times
Contact:

Re: Pocket FE - Add a Mode Button

Post by Bluup » 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.

User avatar
AntFJ
Posts: 178
Joined: Thu Nov 16, 2017 8:09 pm
Has thanked: 37 times
Been thanked: 115 times

Re: Pocket FE - Add a Mode Button

Post by AntFJ » Thu Apr 11, 2019 8:31 am

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.

User avatar
ekilla
Posts: 171
Joined: Sat Dec 09, 2017 8:04 am
Has thanked: 49 times
Been thanked: 50 times

Re: Pocket FE - Add a Mode Button

Post by ekilla » Wed May 08, 2019 7:25 am

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.
Last edited by ekilla on Wed May 08, 2019 8:06 am, edited 1 time in total.

Bluup
Posts: 144
Joined: Wed Mar 28, 2018 9:40 am
Has thanked: 9 times
Been thanked: 82 times
Contact:

Re: Pocket FE - Add a Mode Button

Post by Bluup » Wed May 08, 2019 7:45 am

I wasn't aware of that, my retro gaming street cred is gone there :P. I'll investigate adding a delay.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest