Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remapping of select button w/ PiGrrl 2 #47

Open
DRCHRIS2 opened this issue Sep 24, 2017 · 2 comments
Open

Remapping of select button w/ PiGrrl 2 #47

DRCHRIS2 opened this issue Sep 24, 2017 · 2 comments

Comments

@DRCHRIS2
Copy link

A few folks have noted that on the PiGrrl 2 build the select button is getting mapped to [SPACE] currently, while also using this config in the instructions for the controller carries a default mapping of [SPACE] to toggle fast-forward... does not play nicely. Hitting select in any emulator will toggle fast-forward w/ the default config, no bueno.

Cf. https://retropie.org.uk/forum/topic/366/pigrrl-2-gamepad-select-button-acting-as-a-fast-forward-toggle-in-all-emulators/2

This is an easy fix that can be applied in the retroarch.cfg file included in this repo that is being pulled down by the retrogame.sh script in the Raspberry-Pi-Installer-Scripts repo.

@PaintYourDragon
Copy link
Contributor

We changed the software installation method a few months ago. Rather than a ready-made SD image, we have folks download the current RetroPie release and then run PiTFT & retrogame installer scripts atop this.

When installed this way, EmulationStation will prompt for controller configuration when first run. With a handful of exceptions, ONLY these keys are assigned to input functions. input_hold_fast_forward, for example, is commented out by default in /opt/retropie/configs/all/retroarch.cfg. So, if installing the currently preferred way, the fast-forward situation shouldn't happen.

That said, there is still a little overlap in the default retroarch.cfg inputs and what's set up in most of the retrogame.cfg.* files, and better keys could probably be chosen. This could be done entirely in the retrogame.cfg.* files installed by the script, no modification to retroarch.cfg should be necessary.

Here's what appears to be the not-commented-out keys mentioned in retroarch.cfg. As long as retrogame.cfg.* steer clear of these, everything should be golden, I think. Yeah?

input_exit_emulator = "num1"
input_shader_next = "m"
input_shader_prev = "n"
input_rewind = "r"
input_menu_toggle = "z"
input_enable_hotkey = "num5"
input_reset = "alt"

@DRCHRIS2
Copy link
Author

Indeed, when you flash the latest RetroPie and run the retrogame script on top of it, and proceed to the EmulationStation mapping setup, the process has the PiGrrl2 Select button mapped to SPACE. I checked out the retroarch.cfg and indeed saw that the fast_forward options are commented out, but even when testing on a keyboard the SPACE button continues to throw the emulators into fast_forward mode. Uncommenting those lines and mapping to another key fixes it. Therefore, another config file must be taking precedence when those lines are commented out and continuing to map Select to SPACE, right?

Any thoughts on what other config files may be doing this? It happens irrespective of the emulator launched. I took a look around for a good while and did not see anything, but I admit I didn't grep through the filesystem exhaustively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants