rev138Participant12/10/2014 at 23:56Post count: 11
I have one of these controllers (http://www.amazon.com/gp/product/B00G6CLXRK), and it seems to work fine, except for the hotkey functions.
I have the hotkey button mapped to the “select” button (8, in this case), and everything behaves in emulationstation, but once I launch a game, it acts as if I’m holding down “select” when I am not (i.e. I hit “start”, and it quits because I have “select+start” mapped as the exit key). I tried mapping to another button (12) and it still acts as if I have the hotkey pressed. I even tried a second one of these controllers in case that one was a dud, and it has the same issue. I’m thinking this must be a bug and/or a config issue.
Has anyone run into this?
PS- I have an iBuffalo SNES controller and the hotkey function works perfectlyFloobMember12/11/2014 at 21:24Post count: 1629
Can you post your config file so we can see?gizmo98Participant12/11/2014 at 21:37Post count: 452
If you configure “select” as a input_enable_hotkey_btn you also need an input_enable_hotkey for your keyboard. Strange but true…FloobMember12/11/2014 at 22:20Post count: 1629geeksParticipant12/12/2014 at 03:17Post count: 1
gizmo, could you elaborate on this?
> If you configure “select” as a input_enable_hotkey_btn you also need an input_enable_hotkey for your keyboard. Strange but true…rev138Participant12/12/2014 at 03:37Post count: 11
Well, it looks like my problem was that I had followed this blog post: http://weekendengineer.wordpress.com/2014/09/02/auto-detecting-controllers-in-emulationstation-2-0
I had to deviate slightly from the instructions because the controller detection option in retroarch-config doesn’t seem to work (no output), so I ran joyconfig manually and copied the output to a file in /opt/retropie/emulators/RetroArch/configs. This apparently does not work properly.
I appended the contents of my custom config file to the main retroarch.cfg, and now the controller behaves properly (though it doesn’t switch mappings when I plug in a different controller, as was implied by that how-to.rev138Participant12/13/2014 at 19:12Post count: 11
Upon further testing, it seems the auto-detection IS working. When I launch a game, I see a message in yellow flash on the bottom identifying the controller. However, when I do this, pressing “start” exits the game as if I had been holding down “select”. If I move the exact same settings directly into my retroarch.cfg, it works properly. Very weird.FloobMember12/13/2014 at 19:52Post count: 1629
It might be to do with the position of the lines – can you post your auto config joypad file?rev138Participant12/19/2014 at 03:35Post count: 11
input_device = "Performance Designed Products Rock Candy Wireless Gamepad for PS" input_driver = "udev" input_b_btn = "1" input_y_btn = "0" input_select_btn = "8" input_start_btn = "9" input_up_btn = "h0up" input_down_btn = "h0down" input_left_btn = "h0left" input_right_btn = "h0right" input_a_btn = "2" input_x_btn = "3" input_l_btn = "4" input_r_btn = "5" input_l2_btn = "6" input_r2_btn = "7" input_l_x_plus_axis = "+0" input_l_x_minus_axis = "-0" input_l_y_plus_axis = "+1" input_l_y_minus_axis = "-1" input_r_x_plus_axis = "+2" input_r_x_minus_axis = "-2" input_r_y_plus_axis = "+3" input_r_y_minus_axis = "-3" input_enable_hotkey_btn = "8" input_exit_emulator_btn = "6" input_save_state_btn = "4" input_load_state_btn = "5"FloobMember12/19/2014 at 11:01Post count: 1629thexParticipant12/19/2014 at 15:17Post count: 23
I had this exact issue.
Try removing the quotes around the numbers for the hotkey and exit buttons, like below;
input_enable_hotkey_btn = 8
input_exit_emulator_btn = 6rev138Participant12/19/2014 at 15:29Post count: 11FloobMember12/19/2014 at 16:06Post count: 1629
You could try pasting your auto config into the main retroarch.cfg file and see if it works there.
Did you try removing that blank line?rev138Participant12/23/2014 at 15:01Post count: 11
After finding a couple more posts on this exact issue (which different people seem to have different working solutions to), I was finally able to make this work by moving these options out of the controller-specific config and into the main retroarch.cfg
input_enable_hotkey = "tab" input_enable_hotkey_btn = 8 input_exit_emulator_btn = 9 input_save_state_btn = 4 input_load_state_btn = 5
Now it only exits on select+start, as it should. However, this is not ideal because if I use a different controller, those will map to different buttons :(
Progress.FloobMember12/23/2014 at 15:25Post count: 1629
Perhaps when you use the auto file, it is importing it before the
input_enable_hotkey = “tab” line in your main retroarch.cfg file ?
Therefore it gets overwritten by the keyboard tab setting later in that file?
You could check this by putting it back how it was then run it and press tab and then a hotkey button on your joypad.
For reference, this structure works fine for me (uses hotkey in auto file no problem).
You can compare yours here:
As a side note, I really need to work out if it cares about the button codes being in quotes or not. “”.FloobMember12/23/2014 at 15:28Post count: 1629
Actually thinking about it, it shouldnt matter as one is keyboard hotkey and one is joypad hotkey.
It would still be interesting if you compare your retroarch.cfg to mine – anything drastically different?
Also, does it make any difference if you take that blank line out of your auto file?rev138Participant12/23/2014 at 20:01Post count: 11
Thanks for the comparison file. I tried mimicking your config somewhat in that I put
input_hotkey_enable = escape
in the main retroarch.cfg, and moved all the actual hotkey bindings to my controller-specific config file. This seems to work!
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.