mdeguzis / RetroRig-ES

(discontinued) EmulationStation flavor of RetroRig. Curated and pre-configured emulation.
Other
24 stars 3 forks source link

Option to disable Load/Save joystick buttons #12

Open elsonrodriguez opened 8 years ago

elsonrodriguez commented 8 years ago

On occasion, when using a DS3, one might accidentally press the joysticks down, trigging a load or save.

There should be an option to disable it, or maybe have some sort of prompt (not sure how possible that is since the keypress is sent to the emulator).

elsonrodriguez commented 8 years ago

Lakka/Retroarch handles this pretty elegantly, when you press the PS3 button, it goes to a menu where you can resume/save/quit.

mdeguzis commented 8 years ago

There is no overlay in EmulationStation in this way, and since I configure each emulator (with no general menu to handle all emulators such as Retroarch's core setup), this isn't each to do. I'll see what I can think of.

elsonrodriguez commented 8 years ago

I was tempted to the darkside and switched most of my emulators to retroarch. For the ones I haven't switched over, I figured out a neat antimicro trick as a workaround for this.

https://gist.github.com/elsonrodriguez/de9ad8dad7e1f672e2bd

Basically I changed the config to so that Save/Load/Quit requires the button to be pressed down for three seconds before quitting/saving/loading. There's probably more that can be done to obfuscate the action to 100% eliminate accidental quitting, but this did the trick for me.

mdeguzis commented 8 years ago

Nice. I'll take a look at changing this soon.