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

    [SOLVED] Keyboard does not behave like a controller anymore

    Scheduled Pinned Locked Moved Help and Support
    keyboardcontrollergame
    8 Posts 2 Posters 2.3k 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.
    • fellegF
      felleg
      last edited by felleg

      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

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

        @felleg try setting up your controller and keyboard in emulationstation again. Generally when you choose hotkey, you choose your select button

        fellegF 1 Reply Last reply Reply Quote 0
        • fellegF
          felleg @edmaul69
          last edited by felleg

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

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

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

            fellegF 1 Reply Last reply Reply Quote 0
            • fellegF
              felleg @edmaul69
              last edited by

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

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

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

                fellegF 2 Replies Last reply Reply Quote 1
                • fellegF
                  felleg @edmaul69
                  last edited by

                  @edmaul69 Thanks for the suggestion, I will try it out and update you with the result!

                  1 Reply Last reply Reply Quote 0
                  • fellegF
                    felleg @edmaul69
                    last edited by felleg

                    @edmaul69 Tried it (I updated retroarch and all the other cores), and now it magically works! Thanks a bunch, edmaul :)

                    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.