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

    usb trackball & spinner mouse index issue

    Scheduled Pinned Locked Moved Help and Support
    mousespinnertrackball
    7 Posts 3 Posters 1.1k 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.
    • E
      ESMITH1120
      last edited by

      Both work fine, but for games that use the spinner I need to enter the in game retroarch menu,enter the input player binds from 0 to 2 then return to the game. Ive tried to save the user config but it never saves. Is there a way to save that setting or tell retroarch to use a certain mouse index for certain games. I see some topics that touch on this but never a clear explanation how to solve it.

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

        @ESMITH1120 Have you used the Core input remapping for your game to override the input settings on a per-game basis ?

        E 1 Reply Last reply Reply Quote 0
        • E
          ESMITH1120 @mitu
          last edited by

          @mitu
          I go into the in game retroarch menu, change the input from 0 to 2, I hit save game remap then exit. It works , but when I exit the game & reenter the input index is not saved.

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

            @ESMITH1120 You're right, this isn't saved with the Core input remapping. I've tested a few other options and I didn't find the right RA override to save this per-game.
            However, you can use the mechanism implemented by RetroPie (https://retropie.org.uk/docs/RetroArch-Configuration/#custom-retroarch-override-examples) and create a ROM_full_name.cfg file alongside the ROM containing the configuration you need, i.e.

            input_player1_mouse_index = 1
            

            where 1 is the mouse index that's suited for the game. If you have the same index for all games in a system(arcade, fba, etc), then you can add this configuration in the system's configuration file (/opt/retropie/configs/arcade/retroarch.cfg, etc.) as detailed in the link above.

            TangoT 1 Reply Last reply Reply Quote 1
            • TangoT
              Tango @mitu
              last edited by

              Apologies for "threadus ressurectus," but it seems more appropriate to ask this in context rather than start a new thread for it.

              @mitu said in usb trackball & spinner mouse index issue:

              However, you can use the mechanism implemented by RetroPie (https://retropie.org.uk/docs/RetroArch-Configuration/#custom-retroarch-override-examples) and create a ROM_full_name.cfg file alongside the ROM containing the configuration you need, i.e.

              input_player1_mouse_index = 1
              

              where 1 is the mouse index that's suited for the game.

              From what I had seen in RetroArch configuration files, I thought you needed an include statement, to make sure the original config is included, like:

              input_player1_mouse_index = 1
              
              #include /opt/retropie/configs/all/retroarch.cfg
              

              Or if you have a core file, it might be:

              #include /opt/retropie/configs/mame-libretro/retroarch.cfg

              When is the include needed and not needed? (They use it in some examples in the link you provide, but not in others.)

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

                @Tango said in usb trackball & spinner mouse index issue:

                When is the include needed and not needed? (They use it in some examples in the link you provide, but not in others.)

                It's not needed in a ROM config file.

                TangoT 1 Reply Last reply Reply Quote 0
                • TangoT
                  Tango @mitu
                  last edited by

                  @mitu said in usb trackball & spinner mouse index issue:

                  @Tango said in usb trackball & spinner mouse index issue:

                  When is the include needed and not needed? (They use it in some examples in the link you provide, but not in others.)

                  It's not needed in a ROM config file.

                  Thanks!

                  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.