Razer Kishi Controller works in ES menus but not in emulators
-
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 -
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
-
@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 ? -
-
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 inlr-pcsx-rearmed
to see if your buttons are mapped correctly. -
@mitu I've tried running padtest but all I get is a blank screen with the icon below in the bottom left corner:
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?
-
@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. -
@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 mappedEvidently somewhere there is an incorrect mapping configuration. Any ideas where I would look for this?
-
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. -
@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?
-
@grimdanfango Yes,
Hotkey + Quit
should exit RetroArch. -
@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?
-
@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 ? -
@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.
-
@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 ?
-
@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.
-
@mitu anything standing out in the config file?
-
@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).
-
Still looking for a solution on this issue if anyone has any advice.
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.