RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Hardcoding new PSX hotkeys

    Scheduled Pinned Locked Moved Help and Support
    10 Posts 4 Posters 2.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • RiverstormR
        Riverstorm
        last edited by

        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"
        
        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by

          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!

          RiverstormR 1 Reply Last reply Reply Quote 0
          • RiverstormR
            Riverstorm @A Former User
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • N
                neonix
                last edited by

                Hi, I tried this solution but Retroarch does not recognize the hotkeys... any suggestion? thx

                edmaul69E 1 Reply Last reply Reply Quote 0
                • edmaul69E
                  edmaul69 @neonix
                  last edited by

                  @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.

                  N 1 Reply Last reply Reply Quote 0
                  • N
                    neonix @edmaul69
                    last edited by neonix

                    @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...

                    1 Reply Last reply Reply Quote 0
                    • N
                      neonix
                      last edited by

                      SOLVED!
                      Via SSH --> sudo nano retroarch.cfg in /opt/retropie/configs/psx/
                      and now it work.... maybe I had some permission problem.

                      edmaul69E 1 Reply Last reply Reply Quote 0
                      • edmaul69E
                        edmaul69 @neonix
                        last edited by edmaul69

                        @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)

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post

                        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.