Hardcoding new PSX hotkeys
-
Hi there, sorry for the title of the thread, wasn't sure exactly what to call it lol.
I've figured out how to disk swap my .PBP files in the PSX emulator (go to RGUI when game is loaded, select 'input hotkey binds', change 'disk eject/disc next/disc prev/' to the buttons I want; I used Y, UP and DOWN on the directional pad.
My question is, how can I make these changes permanent to the PSX emulator? Right now I have to redo it every time I open a playstation game. Is there .cfg file I can overwrite somewhere? Any help would be great, thanks!
-
Modify /opt/retropie/configs/all/retroarch-joypads/ so that your controller has the settings according to your button layout. Values are just examples you'll need to change them for your controller.
input_disk_eject_toggle_btn = "0" input_disk_next_btn = "7" input_disk_prev_btn = "6"
-
Thank you a ton for the help!
It works fine when I use "3" for the disk eject toggle, but when I assign "-1" and "+1" for the disk next/prev button, it won't work for some reason... nothing happens. Rrrgh. And I made sure to check that those are the values for up/down axis. Not sure why it won't recognize it!
-
@sun said in Hardcoding new PSX hotkeys:
when I assign "-1" and "+1" for the disk next/prev button, it won't work for some reason...
I'm not sure using an axis. I know there's some more knowledgeable people on here that know the PSX emulator better that might chime in a thought.
-
No problem, your solution totally worked and I used some other buttons to get the job done. It's just weird because if I make the changes in RGUI to use the axis buttons, it works fine. But using the axis buttons in the gamepad.cfg file doesn't work. Oh well.
-
Hi, I tried this solution but Retroarch does not recognize the hotkeys... any suggestion? thx
-
@neonix personally i would just put this info in /opt/retropie/configs/psx/retroarch.cfg Now you need to give us more info. What controller and are you using the correct button numbers assigned to your controller. And remember you have to use your hotkey with these buttons if you werent.
-
@edmaul69 thanks for your reply.
I'm using PS3 controller and Retropie 4.2 on a Raspberry PI 3.
I tried to set hotkeys from RGUI for input_disk_eject_toggle_btn, input_disk_next_btn and input_disk_prev_btn but when I exit from the game those setting are not saved.
Then I tried to hardcode /opt/retropie/configs/all/retroarch-joypads/PLAYSTATION(R)3 Controller.cfg and /opt/retropie/configs/psx/retroarch.cfg adding:
input_disk_eject_toggle_btn = "9"
input_disk_next_btn = "5"
But it doesn't work anyway... I'm getting crazy...
-
SOLVED!
Via SSH --> sudo nano retroarch.cfg in /opt/retropie/configs/psx/
and now it work.... maybe I had some permission problem. -
@neonix yes i believe it is a permission problem you had. If you put those in the playstation controllers config file instead of the psx config it wont interfere with other controllers. I put those settings in all my controllers configs that could possibly be used to play psx and famicom disk system games. (Of course changing the numbers to match that controller)
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.