[SOLVED] Keyboard does not behave like a controller anymore
-
Something weird surfaced with the latest update I made of my system, the keyboard works fine everywhere except in games. None of the buttons I configured for the keyboard work in games (e.g. "enter" acts like start usually, but in games has no effect). This is frustrating because it means I can't even quit games from the keyboard anymore, I have to use the controller. I tried using the hot_key+start and select+start combinations, nothing seems to want to work. Is there a way for the keyboard to behave like a controller once more when in games?
Pi Model or other hardware: 3B
Power Supply used: (If using a Pi): Canakit 5V supply
RetroPie Version Used: 4.2, I think
Built From: Pre made SD Image on RetroPie website
USB Devices connected: A USB Key, a USB Keyboard, A Hori Pro FC controller
Controller used: A USB Keyboard. It works fine in the ES menus and the RPi console
Error messages received: no error message
Log found in /dev/shm/runcommand.log (if relevant): no log
Guide used: no guide was followed
File: i have no idea!
Emulator: lr-fceumm, just an example (happens with every emulator I tried)
Attachment of config files: non -
@felleg try setting up your controller and keyboard in emulationstation again. Generally when you choose hotkey, you choose your select button
-
@edmaul69 Tried this just now, doesn't seem to make any difference. As I've tried to explain, it's not the hotkey or escaping the game that is the issue. The biggest issue is that none of the configured keys seem to do anything! ;(
Am I the only one that had this problem? If so, there might be a file I deleted or something I'm missing. If you could point me to the relevant file, I could confirm this.
-
@felleg for the keyboard, open up the file /opt/retropie/configs/all/retroarch.cfg Scroll down until you find:
input_exit_emulator =
Then if escape is your exit key change it to:
input_exit_emulator = "escape"
Remember to leave a space between the equals sign and the parenthesis. If there is a hashtag # at the beginning of the line, remove it. Same with all the rest you do.
Next look for the input hotkey, input menu and the list of player 1 and 2's controls. Set them all up manually.
-
@edmaul69 Strange, I opened the file and I could see this just now:
# Keyboard input, Joypad and Joyaxis will all obey the "nul" bind, which disables the bind completely,
# rather that relying on a default.
input_player1_a = "x"
input_player1_b = "z"
input_player1_y = "a"
input_player1_x = "s"
input_player1_start = "enter"
input_player1_select = "rshift"
input_player1_l = "q"
input_player1_r = "w"
input_player1_left = "left"
input_player1_right = "right"
input_player1_up = "up"
input_player1_down = "down"
input_player1_l2 = "e"
input_player1_r2 = "r"
input_player1_l3 = "d"
input_player1_r3 = "f"This means that, naively, the keyboard is configured and should work. It does it the menus, but not the games.
-
@felleg ok. I would update retropie setup and then install retroarch from binary. You might have the retroarch 1.6.1 that had at least the enter button not working.
-
@edmaul69 Thanks for the suggestion, I will try it out and update you with the result!
-
@edmaul69 Tried it (I updated retroarch and all the other cores), and now it magically works! Thanks a bunch, edmaul :)
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.