Tagged: nes30, pi, retroarch.cfg, retropie, shader
-
AuthorPosts
-
Hello,
Long story short, I am using 8bitdo NES30 controllers for 1P and 2P.
Everything is working great except the select key on 1P controller is mapped to the “n” key. This key was originally assigned to input_shader_prev in the retroarch.cfg
I have changed this key assignment in /opt/retropie/configs/all/retroarch.cfg to another key. However the “n” key still changes to the previous shader.
I have even removed the key assignment to input_shader_prev and the “n” key still changes to the previous shader.
Any suggestions would be appreciated.
Is there a reference in your controller file to the next shader – the controller file in
/opt/retropie/emulators/RetroArch/configs/
My hotkey video may help:
I just checked and there was a retroarch.cfg in
/opt/retropie/emulators/RetroArch/configs
I commented out the lines regarding input shader next and previous; however the issue still exists.
When you start a game, is there yellow text at the bottom of the screen briefly?
This means you are using a controller file in
/opt/retropie/emulators/RetroArch/configs
Check the dates on the files, as a more recent date would indicate that is your file.You may want to check the contents of the retroarch.cfg in
/opt/retropie/configs/{systemname}/retroarch.cfg as well, as that can override the main one at:
/opt/retropie/configs/all/retroarch.cfgAt the start of a game there is no yellow text. The only yellow text I see is after hitting the “n” key and the shader selection dialog is displayed.
If it helps the controllers I have are actually configured as keyboards (hence why I need the use of the “n” key). I have their configuration setup in the main retroarch.cfg here:
/opt/retropie/configs/all/
so there shouldn’t be anything overriding the primary retroarch config via the autodetect controller process.
As for the emulator specific config (I am using snes when the issue occurs); the files doesn’t contain any key bindings, the only lines in that file are related to a shader I explicitly selected and video smoothing properties.
What is this value in your main retroarch.cfg
input_enable_hotkeyI’m thinking it reads “nul” as that would mean it would kick in.
If you changed it to read “alt” then you would have to press “alt” to make that hotkey function work.The video above should cover the different hotkey configs.
That is the thing, the “n” key binding is my entry for input_enable_hotkey (so that I can press “n” and another key to escape the emulator).
This functionality works, but if I simply press “n” it also conducts the input_shader_prev action.
If you remove the input_shader_prev value altogether it may well default to its ‘n’ value.
Have you tried setting input_shader_prev to a value other than ‘n’?Although I would just be tempted to have “alt” as my hotkey.
Yes I have tried setting the value to a different key, placing the value to nul, and commenting out the line to no avail.
Could you post your retroarch.cfg as an attachment? You’d need to rename it .txt.
Does it work fine if you set your hotkey to alt instead of n?
So I tested using alt as my hotkey assignment and it worked, then I tested a few other keys that are mapped in my controller setup and all of the keys I tested were successful.
So it seems that assigning “n” as the hotkey causes an issue due to the default “n” as the input_shader_prev key.
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.