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

    Help ! Commands / Input pb

    Scheduled Pinned Locked Moved Help and Support
    mameretroarch
    9 Posts 2 Posters 231 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.
    • K
      kokobowl
      last edited by kokobowl

      Hello,
      I use a Picade. I configured it and MAME was working perfectly.
      I configured also another gamePad to test N64 games. I disconnected
      the gamePad and reconfigured the input. But now, I've got a pb. When
      I use DOWN + B button (linked to DOWN + left Ctrl according the settings), it
      displays a "Reinitialisation" message or "Save slot 1". And I cannot reinit the first configuration. Moreover, my SELECT+START combination to exit MAME doesn't work anymore...
      It seems to be a global setting because the same behavior exists into Game&Watch games and GBA games....
      So, is this any file to delete to perform a fresh retroarch configuration for MAME ?
      Thank you

      Here is my file content :

      #### Input
      
      # Path to input remapping file.
      # input_remapping_path =
      
      # Input bind timer timeout.
      # Amount of seconds to wait until proceeding to the next bind. Default: 5, minimum: 1
      # input_bind_timeout = 1
      
      # If enabled, overrides the input binds with the remapped binds set for the current core.
      # input_remap_binds_enable = true
      
      # Maximum amount of users supported by RetroArch.
      # input_max_users = 16
      
      # Keyboard layout for input driver if applicable (udev/evdev for now).
      # Syntax is either just layout (e.g. "no"), or a layout and variant separated with colon ("no:nodeadkeys").
      # input_keyboard_layout =
      
      # Defines axis threshold. Possible values are [0.0, 1.0]
      # input_axis_threshold = 0.5
      
      # input_analog_deadzone = 0.0
      
      # input_analog_sensitivity = 1.0
      
      # Enable input auto-detection. Will attempt to autoconfigure
      # joypads, Plug-and-Play style.
      input_autodetect_enable = "true"
      
      # Show the input descriptors set by the core instead of the
      # default ones.
      # input_descriptor_label_show = true
      
      # Hide input descriptors that were not set by the core.
      # input_descriptor_hide_unbound = false
      
      # Influence how input polling is done inside RetroArch.
      # 0 : Early  - Input polling is performed before call to retro_run.
      # 1 : Normal - Input polling is performed when retro_input_poll is
      #     requested.
      # 2 : Late   - Input polling is performed on first call to retro_input_state
      #     per frame
      #
      # Setting it to 0 or 2 can result in less latency depending on
      # your configuration.
      #
      # When netplay is enabled, the default polling behavior (1) will
      # be used regardless of the value set here.
      # input_poll_type_behavior = 1
      
      # Sets which libretro device is used for a user.
      # Devices are indentified with a number.
      # This is normally saved by the menu.
      # Device IDs are found in libretro.h.
      # These settings are overridden by explicit command-line arguments which refer to input devices.
      # None: 0
      # Joypad (RetroPad): 1
      # Mouse: 2
      # Keyboard: 3
      # Generic Lightgun: 4
      # Joypad w/ Analog (RetroPad + Analog sticks): 5
      # Multitap (SNES specific): 257
      # Super Scope (SNES specific): 260
      # Justifier (SNES specific): 516
      # Justifiers (SNES specific): 772
      
      # input_libretro_device_p1 =
      # input_libretro_device_p2 =
      # input_libretro_device_p3 =
      # input_libretro_device_p4 =
      # input_libretro_device_p5 =
      # input_libretro_device_p6 =
      # input_libretro_device_p7 =
      # input_libretro_device_p8 =
      
      # Keyboard input. Will recognize letters ("a" to "z") and the following special keys (where "kp_"
      # is for keypad keys):
      #
      #   left, right, up, down, enter, kp_enter, tab, insert, del, end, home,
      #   rshift, shift, ctrl, alt, space, escape, add, subtract, kp_plus, kp_minus,
      #   f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12,
      #   num0, num1, num2, num3, num4, num5, num6, num7, num8, num9, pageup, pagedown,
      #   keypad0, keypad1, keypad2, keypad3, keypad4, keypad5, keypad6, keypad7, keypad8, keypad9,
      #   period, capslock, numlock, backspace, multiply, divide, print_screen, scroll_lock,
      #   tilde, backquote, pause, quote, comma, minus, slash, semicolon, equals, leftbracket,
      #   backslash, rightbracket, kp_period, kp_equals, rctrl, ralt
      #
      # Keyboard input, Joypad and Joyaxis will all obey the "nul" bind, which disables the bind completely,
      # rather than relying on a default.
      input_player1_a = "shift"
      input_player1_b = "ctrl"
      input_player1_y = "alt"
      input_player1_x = "z"
      input_player1_start = "o"
      input_player1_select = "i"
      input_player1_l = "x"
      input_player1_r = "space"
      input_player1_left = "left"
      input_player1_right = "right"
      input_player1_up = "up"
      input_player1_down = "down"
      input_player1_l2 = "escape"
      input_player1_r2 = "enter"
      # input_player1_l3 =
      # input_player1_r3 =
      
      # Two analog sticks (DualShock-esque).
      # Bound as usual, however, if a real analog axis is bound,
      # it can be read as a true analog.
      # Positive X axis is right, Positive Y axis is down.
      # input_player1_l_x_plus =
      # input_player1_l_x_minus =
      # input_player1_l_y_plus =
      # input_player1_l_y_minus =
      # input_player1_r_x_plus =
      # input_player1_r_x_minus =
      # input_player1_r_y_plus =
      # input_player1_r_y_minus =
      
      # If desired, it is possible to override which joypads are being used for user 1 through 8.
      # First joypad available is 0.
      # input_player1_joypad_index = 0
      # input_player2_joypad_index = 1
      # input_player3_joypad_index = 2
      # input_player4_joypad_index = 3
      # input_player5_joypad_index = 4
      # input_player6_joypad_index = 5
      # input_player7_joypad_index = 6
      # input_player8_joypad_index = 7
      
      # Input device buttons.
      # Figure these out by using RetroArch-Phoenix or retroarch-joyconfig.
      # You can use joypad hats with hnxx, where n is the hat, and xx is a string representing direction.
      # E.g. "h0up"
      # input_player1_a_btn =
      # input_player1_b_btn =
      # input_player1_y_btn =
      # input_player1_x_btn =
      # input_player1_start_btn =
      # input_player1_select_btn =
      # input_player1_l_btn =
      # input_player1_r_btn =
      # input_player1_left_btn =
      # input_player1_right_btn =
      # input_player1_up_btn =
      # input_player1_down_btn =
      # input_player1_l2_btn =
      # input_player1_r2_btn =
      # input_player1_l3_btn =
      # input_player1_r3_btn =
      
      # Menu buttons.
      # menu_search_btn      =
      # menu_info_btn        =
      # menu_default_btn     =
      # menu_scroll_down_btn =
      # menu_scroll_up_btn   =
      
      # Swap buttons for OK/Cancel
      menu_swap_ok_cancel_buttons = "false"
      
      # Axis for RetroArch D-Pad.
      # Needs to be either '+' or '-' in the first character signaling either positive or negative direction of the axis, then the axis number.
      # Do note that every other input option has the corresponding _btn and _axis binds as well; they are omitted here for clarity.
      # input_player1_left_axis =
      # input_player1_right_axis =
      # input_player1_up_axis =
      # input_player1_down_axis =
      
      # Holding the turbo while pressing another button will let the button enter a turbo mode
      # where the button state is modulated with a periodic signal.
      # The modulation stops when the button itself (not turbo button) is released.
      # input_player1_turbo =
      
      # Describes the period and how long of that period a turbo-enabled button should behave.
      # Numbers are described in frames.
      # input_turbo_period = 6
      # input_turbo_duty_cycle = 3
      
      # This goes all the way to user 8 (*_player2_*, *_player3_*, etc), but omitted for clarity.
      # All input binds have corresponding binds for keyboard (none), joykeys (_btn) and joyaxes (_axis) as well.
      
      # Toggles fullscreen.
      # input_toggle_fullscreen = f
      
      # Saves state.
      # input_save_state = f2
      # Loads state.
      # input_load_state = f4
      
      # State slots. With slot set to 0, save state name is *.state (or whatever defined on commandline).
      # When slot is != 0, path will be $path%d, where %d is slot number.
      input_state_slot_increase = "right"
      input_state_slot_decrease = "left"
      
      # Toggles between fast-forwarding and normal speed.
      # input_toggle_fast_forward = space
      
      # Hold for fast-forward. Releasing button disables fast-forward.
      # input_hold_fast_forward = l
      
      # Key to exit RetroArch cleanly.
      # Killing it in any hard way (SIGKILL, etc) will terminate RetroArch without saving RAM, etc.
      # On Unix-likes, SIGINT/SIGTERM allows a clean deinitialization.
      input_exit_emulator = "o"
      
      # Applies next and previous shader in directory.
      input_shader_next = "m"
      input_shader_prev = "n"
      
      # Hold button down to rewind. Rewinding must be enabled.
      input_rewind = "r"
      
      # Toggle between recording and not.
      # input_movie_record_toggle = o
      
      # Toggle between paused and non-paused state
      # input_pause_toggle = p
      
      # Frame advance when content is paused
      # input_frame_advance = k
      
      # Reset the content.
      input_reset = "ctrl"
      
      # Cheats.
      # input_cheat_index_plus = y
      # input_cheat_index_minus = t
      # input_cheat_toggle = u
      
      # Mute/unmute audio
      # input_audio_mute = f9
      
      # Take screenshot
      # input_screenshot = f8
      
      # Netplay flip users.
      # input_netplay_flip_players = i
      
      # Hold for slowmotion.
      # input_slowmotion = e
      
      # Enable other hotkeys.
      # If this hotkey is bound to either keyboard, joybutton or joyaxis,
      # all other hotkeys will be disabled unless this hotkey is also held at the same time.
      # This is useful for RETRO_KEYBOARD centric implementations
      # which query a large area of the keyboard, where it is not desirable
      # that hotkeys get in the way.
      
      # Alternatively, all hotkeys for keyboard could be disabled by the user.
      # input_enable_hotkey_btn =
      
      # Increases audio volume.
      # input_volume_up = kp_plus
      # Decreases audio volume.
      # input_volume_down = kp_minus
      
      # Toggles to next overlay. Wraps around.
      # input_overlay_next =
      
      # Toggles eject for disks. Used for multiple-disk content.
      # input_disk_eject_toggle =
      
      # Cycles through disk images. Use after ejecting.
      # Complete by toggling eject again.
      # input_disk_next =
      
      # Toggles menu.
      input_menu_toggle = "z"
      
      # RetroPad button combination to toggle menu
      # 0 = none, 1 = L + R + Y + D-Pad Down, 2 = L3 + R3, 3 = Start + Select
      # input_menu_toggle_gamepad_combo = 0
      
      # allow any RetroPad to control the menu
      all_users_control_menu = "true"
      
      # Toggles mouse grab. When mouse is grabbed, RetroArch hides the mouse,
      # and keeps the mouse pointer inside the window to allow relative mouse input
      # to work better.
      # input_grab_mouse_toggle = f11```
      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        @kokobowl said in Help ! Command in MAME pb:

        I configured also another gamePad to test N64 games. I disconnected

        How did you configure the N64 gamepad ?

        K 2 Replies Last reply Reply Quote 0
        • K
          kokobowl @mitu
          last edited by

          @mitu I configured a XBOX 360 pad (EasySMX). But I disconnected it and I reconfigured the Picade joystick.

          K 1 Reply Last reply Reply Quote 0
          • K
            kokobowl @kokobowl
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • K
              kokobowl @mitu
              last edited by

              The file I edited is

              /opt/retropie/configs/all/retroarch.cfg
              

              @mitu Down + Left Ctrl executes a RESET...

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

                Copy the default .cfg from /opt/retropie/configs/all/retroarch.cfg.rp-dist over /opt/retropie/configs/all/retroarch.cfg and your edits will be removed.
                You can configure your gamepad from EmulationStation - https://retropie.org.uk/docs/Controller-Configuration/ - without editing configuration files or using RetroArch's RGUI. This is the recommended method in RetroPie.

                1 Reply Last reply Reply Quote 1
                • K
                  kokobowl
                  last edited by

                  @mitu said in Help ! Commands / Input pb:

                  /opt/retropie/configs/all/retroarch.cfg

                  So, when I play 1942, START is known as "Start record video". I launched the Emulstation Input configuration and the problem is away ! Thank you. Now, just another stupid question, when I recorded the Hotkey key, I pressed ESC instead of a key combinaison (ESC + RETURN or START + SELECT). Is this a method to do it without restarting the procedure ?
                  Thank you !

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

                    The 'Hotkey' is a single key, not a combination. It can be used in combination with other keys to trigger the 'hotkey actions/combinations'. See https://retropie.org.uk/docs/Controller-Configuration/#hotkey.

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      kokobowl @mitu
                      last edited by

                      @mitu I need to read a lot of documentation. Thank you !

                      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.