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

    ESC Key not working (IPAC 2Player Setup)

    Scheduled Pinned Locked Moved Help and Support
    esc problem
    8 Posts 2 Posters 643 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.
    • H
      helmar
      last edited by

      Sorry for asking this question, but I'm getting insane ;-)

      I have a retropie installation with a IPAC Mini (which is the same as a IPAC2).
      I have big difficulties to get a 2 Player setup running.
      I read a lot of Wiki postings and in a lot of threads, but didn't found a solution yet.
      My problem is the following:
      I reseted all of the emulationstation input settings.
      Than I restart the system and I'm ask to do a controller setup. As I have no controller connected, I configure my buttons on the IPAC Mini.
      Afterwards Player 1 and 2 are working. But the ESCAPE Key isn't working.
      I configured in /opt/retropie/configs/all/retroarch.cfg the following:
      input_exit_emulator = "escape"

      After the restart the same. ESCAPE isn't working within lr-mame2003. It seems, that the configuration I've done is completly ignored.
      Is there an other file, or I'm doing something wrong?
      Does anybody has such a configuration (no controller, only keyboard and IPAC Mini / IPAC2) running and can provide some information?

      Of course I also read:
      https://github.com/RetroPie/RetroPie-Setup/wiki/Keyboard-Controllers

      I also want to provide two buttons for loudness. How can I achive this?

      Thanks a lot

      Helmar

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

        Please post more details about the rest of your system - as asked in https://retropie.org.uk/forum/topic/3/read-this-first.

        I configured in /opt/retropie/configs/all/retroarch.cfg the following:
        input_exit_emulator = "escape"

        Check if you haven't got a hotkey defined in your configuration, in which case both the hotkey and the exit key must be pressed at once. You should have in your config:

        input_enable_hotkey = "nul"
        

        so just hitting ESC would exit RetroArch.

        After the restart the same. ESCAPE isn't working within lr-mame2003. It seems, that the configuration I've done is completly ignored.

        Looks like you have some configuration overrides or core input remapping ?
        Did you do any other configurations ? Did you use the RetroPie image from retropie.org.uk/download or another image ?
        Btw, for any changes to the RetroArch .cfg files you don't need to reboot, it's enough to exit RetroArch.

        Is there an other file, or I'm doing something wrong?

        Could be, as I mentioned above - check if you have any overrides/remaps.

        Does anybody has such a configuration (no controller, only keyboard and IPAC [...]

        I also want to provide two buttons for loudness. How can I achive this?

        You can probably use something like triggerhappy (included by default in the RetroPie PI image) and capture the buttons' input, mapping the keys to the volume up/down - like this.

        1 Reply Last reply Reply Quote 0
        • H
          helmar
          last edited by helmar

          @mitu said in ESC Key not working (IPAC 2Player Setup):

          me configuration overrides or core input remapping ?

          Hi, thanks for the information.
          I will try the following settings in /opt/retropie/configs/all/retroarch.cfg:

          Player 1 Inputs

          input_player1_a = "alt"
          input_player1_b = "ctrl"
          input_player1_y = "z"
          input_player1_x = "x"
          input_player1_start = "1"
          input_player1_select = "5"
          input_player1_l = "space"
          input_player1_r = "shift"
          input_player1_left = "left"
          input_player1_right = "right"
          input_player1_up = "up"
          input_player1_down = "down"
          input_player1_l2 = "c"
          input_player1_r2 = "v"

          Player 2 Inputs

          input_player2_a = "s"
          input_player2_b = "a"
          input_player2_y = "i"
          input_player2_x = "k"
          input_player2_start = "2"
          input_player2_select = "6"
          input_player2_l = "q"
          input_player2_r = "w"
          input_player2_left = "d"
          input_player2_right = "g"
          input_player2_up = "r"
          input_player2_down = "f"
          input_player2_l2 = "j"
          input_player2_r2 = "l"

          Increases audio volume.

          input_volume_up = kp_plus

          Decreases audio volume.

          input_volume_down = kp_minus

          input_enable_hotkey = "nul"
          input_exit_emulator = "escape"

          mituM 1 Reply Last reply Reply Quote 0
          • H
            helmar
            last edited by mitu

            And here's the configuration of IPAC:

            # Tastencodes  von IPAC
            
            #INPUT	|NORMAL CODES	|CODES WITH SHIFT (hold player1 start)
            #-------+---------------+--------------------------------------
            #COIN 1	|5				|
            #-------+---------------+--------------------------------------
            #COIN 2	|6				|	
            #-------+---------------+--------------------------------------
            #START 1|1				|	
            #-------+---------------+--------------------------------------
            #START 2|2				|ESC
            #-------+---------------+--------------------------------------
            #1 RIGHT|R arrow		|Tab
            #-------+---------------+--------------------------------------
            #1 LEFT	|L arrow		|Enter
            #-------+---------------+--------------------------------------
            #1 UP	|U arrow		|Key Below ESC (Volume, gamma, etc )
            #-------+---------------+--------------------------------------
            #1 DOWN	|D arrow		|P (pause)
            #-------+---------------+--------------------------------------
            #1 SW 1	|L-ctrl			|5 (Coin A)
            #-------+---------------+--------------------------------------
            #1 SW 2	|L-alt			|
            #-------+---------------+--------------------------------------
            #1 SW 3	|space			|
            #-------+---------------+--------------------------------------
            #1 SW 4	|L-shift		|
            #-------+---------------+--------------------------------------
            #1 SW 5	|Z				|
            #-------+---------------+--------------------------------------
            #1 SW 6	|X				|
            #-------+---------------+--------------------------------------
            #1 SW 7	|C				|
            #-------+---------------+--------------------------------------
            #1 SW 8	|V				|
            #-------+---------------+--------------------------------------
            #1 A	|P (Keypad -)	|
            #-------+---------------+--------------------------------------
            #1 B	|ENTER(Keypad -)|
            #-------+---------------+--------------------------------------
            #START 1|1				|
            #-------+---------------+--------------------------------------
            #START 2|2				|Esc
            #-------+---------------+--------------------------------------
            #2 RIGHT|G				|
            #-------+---------------+--------------------------------------
            #2 LEFT	|D				|
            #-------+---------------+--------------------------------------
            #2 UP	|R				|	
            #-------+---------------+--------------------------------------
            #2 DOWN	|F				|
            #-------+---------------+--------------------------------------
            #2 SW 1	|A				|		
            #-------+---------------+--------------------------------------
            #2 SW 2	|S				|
            #-------+---------------+--------------------------------------
            #2 SW 3	|Q				|
            #-------+---------------+--------------------------------------
            #2 SW 4	|W				|	
            #-------+---------------+--------------------------------------
            #2 SW 5	|I				|	
            #-------+---------------+--------------------------------------
            #2 SW 6	|K				|	
            #-------+---------------+--------------------------------------
            #2 SW 7	|J				|	
            #-------+---------------+--------------------------------------
            #2 SW 8	|L				|
            #-------+---------------+--------------------------------------
            #2 A	|TAB			|	
            #-------+---------------+--------------------------------------
            #2 B	|ESC			|	
            #-------+---------------+--------------------------------------
            
            1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @helmar
              last edited by

              @helmar The lines from retroarch.cfg seem correct - but you've not provided the other information I was asking in my previous post - system details, overrides.
              The lines of configuration are also dependant on the context, if your file has another set of configuration somewhere else, they might not apply. Can you post the whole file and also the /opt/retropie/configs/arcade/retroarch.cfg file on pastebin.com ?

              1 Reply Last reply Reply Quote 0
              • H
                helmar
                last edited by helmar

                @mitu said in ESC Key not working (IPAC 2Player Setup):

                rovided the other information I was asking in my previous post - system details, overrides.

                /opt/retropie/configs/arcade/retroarch.cfg :
                https://pastebin.com/kffyFayA

                /opt/retropie/configs/all/retroarch.cfg :
                https://pastebin.com/bG4AT6bf

                Not quite sure about override.. How can I check this?

                System is a Raspberry pi 3B+, Image is installed from retropie.org.uk/download
                No Controller connected, only keyboard and IPAC Mini (which is the same as a IPAC2).
                Nothing configured sepcial. Onlys using MAME2003... planning also to use MAMEADV and MAME2010

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

                  @helmar OK, so you have the stock RetroArch config file (global one) and the specific mappings in the arcade system's config. This looks ok.
                  Any overrides would be present in the /opt/retropie/configs/all/retroarch/config, but if you didn't explicitely add any, that folder shouldn't contain any file.

                  Can you try disconnecting the keyboard and leave the IPAC only connected ? Does it work this way ?

                  1 Reply Last reply Reply Quote 0
                  • H
                    helmar
                    last edited by

                    Hi,

                    i managed to get the exit key working with following in /opt/retropie/configs/arcade/retroarch.cfg and /opt/retropie/configs/all/retroarch.cfg:
                    input_exit_emulator = "escape"
                    input_enable_hotkey = "escape"

                    The only thing which is currently not working is changing volume. I added the following in both files::
                    input_volume_up = "kp_plus"

                    Decreases audio volume.

                    input_volume_down = "kp_minus"

                    But this simply doesn't work. It's no matter if i hit the key on the IPAC or on the keyboard.
                    The volume doesn't change....

                    Any idea, how to fix?
                    Do I have to press also the hotkey for changing the volume? (Also this doesn't work at the moment)

                    Thanks a lot

                    helmar

                    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.