Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Next and Previous Shader key assignment
Tagged: nes30, pi, retroarch.cfg, retropie, shader
- This topic has 11 replies, 2 voices, and was last updated 9 years, 8 months ago by Floob.
-
AuthorPosts
-
01/12/2015 at 19:18 #85048zbh23Participant
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.
01/12/2015 at 23:11 #85063FloobMemberIs 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:
01/12/2015 at 23:33 #85065zbh23ParticipantI 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.
01/13/2015 at 00:13 #85068FloobMemberWhen 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.cfg01/13/2015 at 00:18 #85069zbh23ParticipantAt 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.
01/13/2015 at 00:30 #85071FloobMemberWhat 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.
01/13/2015 at 00:33 #85072zbh23ParticipantThat 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.
01/13/2015 at 00:40 #85073FloobMemberIf 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.
01/13/2015 at 00:42 #85074zbh23ParticipantYes I have tried setting the value to a different key, placing the value to nul, and commenting out the line to no avail.
01/13/2015 at 01:19 #85075FloobMemberCould 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?
01/13/2015 at 14:05 #85093zbh23ParticipantSo 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.
01/13/2015 at 21:25 #85105FloobMemberThats great! Could you mark this one as resolved?
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.