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

    Razer Kishi Controller works in ES menus but not in emulators

    Scheduled Pinned Locked Moved Help and Support
    controllerhelp
    19 Posts 2 Posters 3.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.
    • G
      GrimDanFango
      last edited by GrimDanFango

      Hello,

      I am trying to build my own handheld console using a combination of a Hyperpixel 4, Pi 4 and a Razer Kishi Android controller. I have the razer connected to the pi via a USB-C to USB-A adapter and the display connected via GPIO. When I first fire up retropie it asks me to hold a button to configure the controller. When I do that it recognises it as a Razer Kishi and lets me configure the buttons. Controls then seem to work fine when navigating the RetroPie menus. When I launch a game there is a notification pop-up saying the Razer is configured in port#1 but the majority of the controls stop working or don't work as configured. Only the d-pad, B button and one of the shoulder buttons are recognised. I cant even exit out of the game because the hotkey doesn't work either. Can anyone explain what I am doing wrong?

      Pi Model or other hardware: (B, B+, 2 B, 3, X86 PC etc..): Pi 4B 2Gb
      Power Supply used: (If using a Pi) - Official Pi 4 Power supply
      RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.7.1
      Built From: Pre made SD Image from the RetroPie website, unmodified other than loading a couple of roms for testing
      USB Devices connected: Razer Kishi
      Controller used: Razer Kishi

      G 1 Reply Last reply Reply Quote 0
      • G
        GrimDanFango @GrimDanFango
        last edited by

        Here is some extra info as a result of me looking through similar threads:

        I've run the advanced configuration editor and set the Razer as the player 1 controller.

        I have also run a game with verbose logging on. Here is the output: https://pastebin.com/XG9gG3nf

        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @GrimDanFango
          last edited by

          @grimdanfango I don't think you're doing something wrong. Can you get the configuration file for the controller from \\retropie\configs\all\retroarch-joypads and post it on pastebin.com ?

          G 1 Reply Last reply Reply Quote 0
          • G
            GrimDanFango @mitu
            last edited by

            @mitu https://pastebin.com/m5VgVybB

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @GrimDanFango
              last edited by

              The configuration looks fine, the only thing there to note is that you have a separate Hotkey button than Select, I assume this is on purpose.

              I can't remember where I downloaded from, but there's a padtest image for PS1 that acts like a gamepad tester (https://github.com/ShendoXT/padtest) and I use it to check if all buttons are mapped correctly. Try to find a download (there's a .cue and .bine) and load it up in lr-pcsx-rearmed to see if your buttons are mapped correctly.

              G 1 Reply Last reply Reply Quote 0
              • G
                GrimDanFango @mitu
                last edited by

                @mitu I've tried running padtest but all I get is a blank screen with the icon below in the bottom left corner:

                IMG_20210130_172433.jpg

                I've tried downloading it from 2 different sources to be sure. It's just the .bin and .cue files that I copy to the psx rom folder, right?

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @GrimDanFango
                  last edited by

                  @grimdanfango said in Razer Kishi Controller works in ES menus but not in emulators:

                  It's just the .bin and .cue files that I copy to the psx rom folder, right?

                  Yes, it's a small .bin and the accompanying .cue file.

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    GrimDanFango @mitu
                    last edited by GrimDanFango

                    @mitu OK I figured out my issue with padtest was that I hadnt loaded the correct BIOS, it's now working.

                    When I try and use the Razer I get the following results:

                    Left shoulder is mapped to the Select button
                    X is mapped to Left shoulder
                    Y is mapped to Right shoulder
                    B is mapped to Left Trigger
                    D-pad is mapped correctly
                    None of the other buttons or the joysticks appear mapped

                    Evidently somewhere there is an incorrect mapping configuration. Any ideas where I would look for this?

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @GrimDanFango
                      last edited by

                      You can use jstest and see what values are reported for each button, to compare with the .cfg file's settings.
                      You can also try to map the gamepad directly from RetroArch and generate and auto-configuration profile - https://www.retroarch.com/index.php?page=joypad-autoconfig.

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        GrimDanFango @mitu
                        last edited by

                        @mitu OK, so I have made some progress by navigating from the RetroPie menu > RetroArch > Settings > Input > Input User 1 Binds, then manually setting each button and saving the autoconfig. That has got all the controls working properly except I cant figure out how to set the hotkey to exit the game. I have tried going into the Input Hotkey Binds menu and setting a Hotkey button and a Quit retroarch button but neither seems to do anything when in a game (I set the Hotkey button to the 'Home' button on the controller, and the quit button as Select). I'm expecting that if I hold the home button and press select it should quit?

                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @GrimDanFango
                          last edited by

                          @grimdanfango Yes, Hotkey + Quit should exit RetroArch.

                          G 1 Reply Last reply Reply Quote 0
                          • G
                            GrimDanFango @mitu
                            last edited by

                            @mitu I have tried everything to get the hotkeys working but am having no joy. I started over completely after reflashing the OS, and one thing I've noticed is that the EmulationStation input configuration es_input.cfg file has completely different values to the auto-configuration file. Also the input config I setup in the retropie UI doesnt work in any of the RetroArch config menus.

                            Here is the former: https://pastebin.com/HC59RU2j

                            Here is the latter: https://pastebin.com/d6jNEXYq

                            Does this give any insight into the issue?

                            mituM 1 Reply Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator @GrimDanFango
                              last edited by

                              @grimdanfango said in Razer Kishi Controller works in ES menus but not in emulators:

                              es_input.cfg file has completely different values to the auto-configuration file

                              Yes, as it should be. The 2 files are meant for different programs (EmulationStation / RetroArch) so they're not compatible and they shouldn't be the same.

                              I see the Hotkey enable button is set as btn no. 12, different than Select - I assume this is what you've chosen during input configuration.
                              I see you also have a 2nd gamepad configured - is that also connected ?

                              G 1 Reply Last reply Reply Quote 0
                              • G
                                GrimDanFango @mitu
                                last edited by GrimDanFango

                                @mitu said in Razer Kishi Controller works in ES menus but not in emulators:

                                @grimdanfango said in Razer Kishi Controller works in ES menus but not in emulators:

                                es_input.cfg file has completely different values to the auto-configuration file

                                Yes, as it should be. The 2 files are meant for different programs (EmulationStation / RetroArch) so they're not compatible and they shouldn't be the same.

                                I see the Hotkey enable button is set as btn no. 12, different than Select - I assume this is what you've chosen during input configuration.

                                Yes, the Razer has a 'Home' button, which is the one I chose during the config. Though I have also experimented with setting other buttons as the hotkey (including select) with no success.

                                I see you also have a 2nd gamepad configured - is that also connected ?

                                The other pad is just a budget SNES controller which I've been using to confirm that the issue is related to the Razer config (rather than being something else which affects all controllers). I've had that pad connected when troubleshooting or to navigate the RetroArch menus, but also disconnected when testing at other times. It doesnt seem to make any difference. When I reinstalled from scratch I didnt even connect that pad initially in case that somehow affected the Razer config, but that didnt make any difference either.

                                mituM 1 Reply Last reply Reply Quote 0
                                • mituM
                                  mitu Global Moderator @GrimDanFango
                                  last edited by mitu

                                  @grimdanfango When 2 pads are connected, only 1 of them (Pad 1) has access to hotkeys, so if your SNES controller gets to be P1, the Razer would not be able to use Exit. But I guess that's not always the case.

                                  Anyway, the config looks fine and if you only have the Razer plugged in when starting a game and the hotkeys don't work, I don't understand why the hotkeys won't work. Can you also post your retroarch.cfg from /opt/retropie/configs/all ?

                                  EDIT: just an idea - does the Home button has any special function - like switching controller modes/profiles ?

                                  G 1 Reply Last reply Reply Quote 0
                                  • G
                                    GrimDanFango @mitu
                                    last edited by GrimDanFango

                                    @mitu said in Razer Kishi Controller works in ES menus but not in emulators:

                                    @grimdanfango When 2 pads are connected, only 1 of them (Pad 1) has access to hotkeys, so if your SNES controller gets to be P1, the Razer would not be able to use Exit. But I guess that's not always the case.

                                    Good to know, but I get the same issue regardless of whether the other pad is connected or not.

                                    Anyway, the config looks fine and if you only have the Razer plugged in when starting a game and the hotkeys don't work, I don't understand why the hotkeys won't work. Can you also post your retroarch.cfg from /opt/retropie/configs/all ?

                                    https://controlc.com/73ee833d - Note that this is from a fresh install having only performed the input config through the ES UI. I havent yet repeated the process of manually binding the buttons as I did in post #10 above to get all the other keys working properly in games etc.

                                    EDIT: just an idea - does the Home button has any special function - like switching controller modes/profiles ?

                                    The pad is designed for use with Android phones, so pressing the home key on the pad is supposed to mimic the results of pressing the home key on your phone. Other than that it has no special function.

                                    G 1 Reply Last reply Reply Quote 0
                                    • G
                                      GrimDanFango @GrimDanFango
                                      last edited by

                                      @mitu anything standing out in the config file?

                                      mituM 1 Reply Last reply Reply Quote 0
                                      • mituM
                                        mitu Global Moderator @GrimDanFango
                                        last edited by

                                        @grimdanfango said in Razer Kishi Controller works in ES menus but not in emulators:

                                        @mitu anything standing out in the config file?

                                        Nothing in particular, there's no hotkey override for a controller (just for keyboard inputs).

                                        1 Reply Last reply Reply Quote 0
                                        • G
                                          GrimDanFango
                                          last edited by

                                          Still looking for a solution on this issue if anyone has any advice.

                                          1 Reply Last reply Reply Quote 0
                                          • 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.