[GPIO] is it possible to map combination Hotkey button into single button?
-
I have the Same Problem. Is it not possible to add this Exit Button Option to Future Recalbox releases. Would be great for all Cabinet Builders. Maybe just a line in the config.
-
Why don't you guys just go for one more button in the front? Like I did. I know it does not help the script problem, but the usability is great and it's very easy to achieve.
-
Of course its not a big deal and all my Cabinet have a HK Button but an Exit Button would be a Nice thing to have in future releases.
-
@Nachtgarm i wonder why there are condoms on your sticks ... Dude, you sure you're doing fine ?
Concerning the topic : a button can not have different "functions : it can't be HK +something else. So the only way is the python way.
Find your available gpios (i hope you do have some free ones ... If you're susing the gpio driver for your sticks, then we're stuck). From there, we should be able to write down the python and tell you how and where to run it. @supernature2k my dear python + gpio guru, time to show yoyr skills and think about a nice implementation of what we've been working lately for 4.1
-
@subs sure bro, just tell me how you picture it.
Here is my proposal:
new option in recalbox.conf
gpio.emulatorbutton.quit=3
;gpio.emulatorbutton.reset=5problem: it works very well with retroarch but what about the standalones emus?
-
@supernature2k i rather think about a conf file + a script that would read it. Options should look like in recalbox.conf like "gpyio.pinnumber=state, action" (the gpYio is voluntary haha but name it the way you want)
state = pull, push, any handled state
action : a set of defined actions (we know how to kill an emulator, as well as run some retroarch commands)Explain how to start this script in S99custom
See the picture ?
For other emulators, it's not possible, but just quit them. Too bad, gotta move forward. I'm not sure setting all this in the recalbox.conf is a good idea because it may look really messy someday, and that's an option people may not often use. Gotta ask @digitaLumberjack
-
im excited !
-
@subs These are not my sticks. It was a cabinet I sold to a customer and therefore I kept the handles untouched and shiny
-
@Nachtgarm yeah yeah ... you pervert ... lol
-
@subs You have NO idea 3:-)